diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2025-04-09 12:52:11 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2025-04-16 13:54:44 -0400 |
commit | 8c67adc164d15d898b90fce6351190399f86d6f3 (patch) | |
tree | 74ba9ff80e4df242e5761d66c6dad0b98aee8c52 /src/lpc176x | |
parent | 04e7eb20fd9b65addcbb4773fdb7b6be9dbf6195 (diff) | |
download | kutter-8c67adc164d15d898b90fce6351190399f86d6f3.tar.gz kutter-8c67adc164d15d898b90fce6351190399f86d6f3.tar.xz kutter-8c67adc164d15d898b90fce6351190399f86d6f3.zip |
Kconfig: Add new WANT_ADC option to reduce code size
Make it possible to not compile in support for ADC on chips with small
flash sizes.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/lpc176x')
-rw-r--r-- | src/lpc176x/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lpc176x/Makefile b/src/lpc176x/Makefile index a36e6778..0e2b41cf 100644 --- a/src/lpc176x/Makefile +++ b/src/lpc176x/Makefile @@ -16,9 +16,9 @@ src-y += lpc176x/main.c lpc176x/gpio.c src-y += generic/armcm_boot.c generic/armcm_irq.c generic/armcm_timer.c src-y += generic/armcm_reset.c generic/crc16_ccitt.c src-y += ../lib/lpc176x/device/system_LPC17xx.c -src-$(CONFIG_HAVE_GPIO_ADC) += lpc176x/adc.c -src-$(CONFIG_WANT_I2C) += lpc176x/i2c.c +src-$(CONFIG_WANT_ADC) += lpc176x/adc.c src-$(CONFIG_WANT_SPI) += lpc176x/spi.c +src-$(CONFIG_WANT_I2C) += lpc176x/i2c.c src-$(CONFIG_USBSERIAL) += lpc176x/usbserial.c lpc176x/chipid.c src-$(CONFIG_USBSERIAL) += generic/usb_cdc.c src-$(CONFIG_SERIAL) += lpc176x/serial.c generic/serial_irq.c |