Add a new HAVE_LIMITED_CODE_SIZE symbol that enables a menu to select optional features. This symbol is enabled on chips with small build sizes. Replace the HAVE_GPIO_BITBANGING with four new symbols: WANT_GPIO_BITBANGING, WANT_DISPLAYS, WANT_SENSORS, WANT_SOFTWARE_SPI, and WANT_SOFTWARE_I2C. This allows users a little more flexibility when selecting features they need. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
24 lines
387 B
Plaintext
24 lines
387 B
Plaintext
# Kconfig settings for compiling and running the micro-controller code
|
|
# in a Linux process
|
|
|
|
if MACH_LINUX
|
|
|
|
config LINUX_SELECT
|
|
bool
|
|
default y
|
|
select HAVE_GPIO
|
|
select HAVE_GPIO_ADC
|
|
select HAVE_GPIO_SPI
|
|
select HAVE_GPIO_I2C
|
|
select HAVE_GPIO_HARD_PWM
|
|
|
|
config BOARD_DIRECTORY
|
|
string
|
|
default "linux"
|
|
|
|
config CLOCK_FREQ
|
|
int
|
|
default 50000000
|
|
|
|
endif
|