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:
parent
b80d2f7706
commit
835ec3513d
|
@ -121,6 +121,9 @@ config HAVE_GPIO_HARD_PWM
|
|||
config HAVE_GPIO_BITBANGING
|
||||
bool
|
||||
default n
|
||||
config HAVE_STRICT_TIMING
|
||||
bool
|
||||
default n
|
||||
config HAVE_CHIPID
|
||||
bool
|
||||
default n
|
||||
|
|
|
@ -11,6 +11,7 @@ config ATSAM_SELECT
|
|||
select HAVE_GPIO_SPI
|
||||
select HAVE_GPIO_HARD_PWM
|
||||
select HAVE_GPIO_BITBANGING
|
||||
select HAVE_STRICT_TIMING
|
||||
select HAVE_CHIPID
|
||||
|
||||
config BOARD_DIRECTORY
|
||||
|
|
|
@ -11,6 +11,7 @@ config ATSAMD_SELECT
|
|||
select HAVE_GPIO_SPI
|
||||
select HAVE_GPIO_HARD_PWM if MACH_SAMD21
|
||||
select HAVE_GPIO_BITBANGING
|
||||
select HAVE_STRICT_TIMING
|
||||
select HAVE_CHIPID
|
||||
|
||||
config BOARD_DIRECTORY
|
||||
|
|
|
@ -11,6 +11,7 @@ config AVR_SELECT
|
|||
select HAVE_GPIO_I2C
|
||||
select HAVE_GPIO_HARD_PWM
|
||||
select HAVE_GPIO_BITBANGING if !MACH_atmega168
|
||||
select HAVE_STRICT_TIMING
|
||||
|
||||
config STEP_DELAY
|
||||
default -1
|
||||
|
|
|
@ -10,6 +10,7 @@ config LPC_SELECT
|
|||
select HAVE_GPIO_I2C
|
||||
select HAVE_GPIO_SPI
|
||||
select HAVE_GPIO_BITBANGING
|
||||
select HAVE_STRICT_TIMING
|
||||
select HAVE_CHIPID
|
||||
|
||||
config BOARD_DIRECTORY
|
||||
|
|
|
@ -7,6 +7,7 @@ config PRU_SELECT
|
|||
default y
|
||||
select HAVE_GPIO
|
||||
#select HAVE_GPIO_ADC
|
||||
select HAVE_STRICT_TIMING
|
||||
|
||||
config BOARD_DIRECTORY
|
||||
string
|
||||
|
|
|
@ -10,6 +10,7 @@ config STM32_SELECT
|
|||
select HAVE_GPIO_I2C
|
||||
select HAVE_GPIO_SPI
|
||||
select HAVE_GPIO_BITBANGING
|
||||
select HAVE_STRICT_TIMING
|
||||
select HAVE_CHIPID
|
||||
|
||||
config BOARD_DIRECTORY
|
||||
|
|
Loading…
Reference in New Issue