aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32f4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32f4/Makefile')
-rw-r--r--src/stm32f4/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stm32f4/Makefile b/src/stm32f4/Makefile
index 6ed6a52b..b1c22cb7 100644
--- a/src/stm32f4/Makefile
+++ b/src/stm32f4/Makefile
@@ -15,6 +15,7 @@ src-y += stm32f4/main.c stm32f4/clock.c stm32f4/watchdog.c stm32f4/gpio.c
src-y += generic/crc16_ccitt.c generic/alloc.c
src-y += generic/armcm_irq.c generic/armcm_timer.c
src-y += ../lib/stm32f4/system_stm32f4xx.c
+src-$(CONFIG_HAVE_GPIO_ADC) += stm32f4/adc.c
src-$(CONFIG_SERIAL) += stm32f4/serial.c generic/serial_irq.c
# Add assembler build rules