2017-07-20 07:02:43 +03:00
|
|
|
# Kconfig settings for compiling and running the micro-controller code
|
|
|
|
# in a Linux process
|
|
|
|
|
|
|
|
if MACH_LINUX
|
|
|
|
|
2017-08-27 20:58:19 +03:00
|
|
|
config LINUX_SELECT
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
select HAVE_GPIO_ADC
|
2018-05-05 03:23:58 +03:00
|
|
|
select HAVE_GPIO_SPI
|
2019-03-24 12:25:56 +03:00
|
|
|
select HAVE_GPIO_HARD_PWM
|
2020-01-10 03:25:51 +03:00
|
|
|
select HAVE_GPIO_I2C
|
2017-08-27 20:58:19 +03:00
|
|
|
|
2017-07-20 07:02:43 +03:00
|
|
|
config BOARD_DIRECTORY
|
|
|
|
string
|
|
|
|
default "linux"
|
|
|
|
|
|
|
|
config CLOCK_FREQ
|
|
|
|
int
|
|
|
|
default 20000000
|
|
|
|
|
|
|
|
endif
|