Kconfig: Add a new CONFIG_HAVE_STRICT_TIMING build definition

Add a new build definition to note micro-controllers that have strict
timing.  The Linux mcu code does not have strict timing - all other
targets currently do.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2020-05-25 00:27:18 -04:00
parent b80d2f7706
commit 835ec3513d
7 changed files with 9 additions and 0 deletions

View File

@ -121,6 +121,9 @@ config HAVE_GPIO_HARD_PWM
config HAVE_GPIO_BITBANGING config HAVE_GPIO_BITBANGING
bool bool
default n default n
config HAVE_STRICT_TIMING
bool
default n
config HAVE_CHIPID config HAVE_CHIPID
bool bool
default n default n

View File

@ -11,6 +11,7 @@ config ATSAM_SELECT
select HAVE_GPIO_SPI select HAVE_GPIO_SPI
select HAVE_GPIO_HARD_PWM select HAVE_GPIO_HARD_PWM
select HAVE_GPIO_BITBANGING select HAVE_GPIO_BITBANGING
select HAVE_STRICT_TIMING
select HAVE_CHIPID select HAVE_CHIPID
config BOARD_DIRECTORY config BOARD_DIRECTORY

View File

@ -11,6 +11,7 @@ config ATSAMD_SELECT
select HAVE_GPIO_SPI select HAVE_GPIO_SPI
select HAVE_GPIO_HARD_PWM if MACH_SAMD21 select HAVE_GPIO_HARD_PWM if MACH_SAMD21
select HAVE_GPIO_BITBANGING select HAVE_GPIO_BITBANGING
select HAVE_STRICT_TIMING
select HAVE_CHIPID select HAVE_CHIPID
config BOARD_DIRECTORY config BOARD_DIRECTORY

View File

@ -11,6 +11,7 @@ config AVR_SELECT
select HAVE_GPIO_I2C select HAVE_GPIO_I2C
select HAVE_GPIO_HARD_PWM select HAVE_GPIO_HARD_PWM
select HAVE_GPIO_BITBANGING if !MACH_atmega168 select HAVE_GPIO_BITBANGING if !MACH_atmega168
select HAVE_STRICT_TIMING
config STEP_DELAY config STEP_DELAY
default -1 default -1

View File

@ -10,6 +10,7 @@ config LPC_SELECT
select HAVE_GPIO_I2C select HAVE_GPIO_I2C
select HAVE_GPIO_SPI select HAVE_GPIO_SPI
select HAVE_GPIO_BITBANGING select HAVE_GPIO_BITBANGING
select HAVE_STRICT_TIMING
select HAVE_CHIPID select HAVE_CHIPID
config BOARD_DIRECTORY config BOARD_DIRECTORY

View File

@ -7,6 +7,7 @@ config PRU_SELECT
default y default y
select HAVE_GPIO select HAVE_GPIO
#select HAVE_GPIO_ADC #select HAVE_GPIO_ADC
select HAVE_STRICT_TIMING
config BOARD_DIRECTORY config BOARD_DIRECTORY
string string

View File

@ -10,6 +10,7 @@ config STM32_SELECT
select HAVE_GPIO_I2C select HAVE_GPIO_I2C
select HAVE_GPIO_SPI select HAVE_GPIO_SPI
select HAVE_GPIO_BITBANGING select HAVE_GPIO_BITBANGING
select HAVE_STRICT_TIMING
select HAVE_CHIPID select HAVE_CHIPID
config BOARD_DIRECTORY config BOARD_DIRECTORY