mirror of
git://soft.sys114.com/klipper
synced 2026-02-04 16:30:37 +09:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
# Base config file for the Beaglebone PRU
|
||||
CONFIG_MACH_PRU=y
|
||||
CONFIG_WANT_GPIO_BITBANGING=n
|
||||
CONFIG_WANT_DISPLAYS=n
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user