diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2023-06-08 11:20:59 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2023-06-08 12:59:30 -0400 |
commit | 15d302901f356c5041bb952c2d9a5f56610be658 (patch) | |
tree | b26784477f2b493f677ec0edeee26bd8a995f863 /test/configs | |
parent | 645a1b8364c3110f706db0f976ac5fa20b968c36 (diff) | |
download | kutter-15d302901f356c5041bb952c2d9a5f56610be658.tar.gz kutter-15d302901f356c5041bb952c2d9a5f56610be658.tar.xz kutter-15d302901f356c5041bb952c2d9a5f56610be658.zip |
Kconfig: Support selecting optional features on chips with small flash size
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>
Diffstat (limited to 'test/configs')
-rw-r--r-- | test/configs/ar100.config | 3 | ||||
-rw-r--r-- | test/configs/pru.config | 2 | ||||
-rw-r--r-- | test/configs/stm32f031.config | 2 |
3 files changed, 7 insertions, 0 deletions
diff --git a/test/configs/ar100.config b/test/configs/ar100.config index 5abf7bf6..a717fe3d 100644 --- a/test/configs/ar100.config +++ b/test/configs/ar100.config @@ -1,2 +1,5 @@ # Base config file for the ar100 CPU CONFIG_MACH_AR100=y +CONFIG_WANT_DISPLAYS=n +CONFIG_WANT_SOFTWARE_I2C=n +CONFIG_WANT_SOFTWARE_SPI=n diff --git a/test/configs/pru.config b/test/configs/pru.config index eee1a467..265fbb53 100644 --- a/test/configs/pru.config +++ b/test/configs/pru.config @@ -1,2 +1,4 @@ # Base config file for the Beaglebone PRU CONFIG_MACH_PRU=y +CONFIG_WANT_GPIO_BITBANGING=n +CONFIG_WANT_DISPLAYS=n diff --git a/test/configs/stm32f031.config b/test/configs/stm32f031.config index 719c6563..aa9c282b 100644 --- a/test/configs/stm32f031.config +++ b/test/configs/stm32f031.config @@ -1,3 +1,5 @@ # Base config file for STM32F031 boards CONFIG_MACH_STM32=y CONFIG_MACH_STM32F031=y +CONFIG_WANT_GPIO_BITBANGING=n +CONFIG_WANT_DISPLAYS=n |