aboutsummaryrefslogtreecommitdiffstats
path: root/src/pru
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/pru
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/pru')
-rw-r--r--src/pru/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pru/Makefile b/src/pru/Makefile
index 5c85f5e3..c9624d1e 100644
--- a/src/pru/Makefile
+++ b/src/pru/Makefile
@@ -17,7 +17,7 @@ CFLAGS_pru1.elf := $(CFLAGS)
# Add source files
src-y += pru/main.c pru/gpio.c generic/timer_irq.c
-src-$(CONFIG_HAVE_GPIO_ADC) += pru/adc.c
+src-$(CONFIG_WANT_ADC) += pru/adc.c
pru0-y := pru/pru0.c generic/crc16_ccitt.c command.c
pru0-y += ../lib/pru_rpmsg/pru_rpmsg.c ../lib/pru_rpmsg/pru_virtqueue.c