aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2025-04-09 12:52:11 -0400
committerKevin O'Connor <kevin@koconnor.net>2025-04-16 13:54:44 -0400
commit8c67adc164d15d898b90fce6351190399f86d6f3 (patch)
tree74ba9ff80e4df242e5761d66c6dad0b98aee8c52 /src/Makefile
parent04e7eb20fd9b65addcbb4773fdb7b6be9dbf6195 (diff)
downloadkutter-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/Makefile')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index a3bff2f4..ebebf14d 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -3,7 +3,7 @@
src-y += sched.c command.c basecmd.c debugcmds.c
src-$(CONFIG_HAVE_GPIO) += initial_pins.c gpiocmds.c stepper.c endstop.c \
trsync.c
-src-$(CONFIG_HAVE_GPIO_ADC) += adccmds.c
+src-$(CONFIG_WANT_ADC) += adccmds.c
src-$(CONFIG_WANT_SPI) += spicmds.c
src-$(CONFIG_WANT_I2C) += i2ccmds.c
src-$(CONFIG_WANT_HARD_PWM) += pwmcmds.c