aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32f1/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32f1/Makefile')
-rw-r--r--src/stm32f1/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stm32f1/Makefile b/src/stm32f1/Makefile
index a4074263..925038c2 100644
--- a/src/stm32f1/Makefile
+++ b/src/stm32f1/Makefile
@@ -16,11 +16,11 @@ CFLAGS_klipper.elf += -T $(OUT)stm32f1.ld
CFLAGS_klipper.elf += --specs=nano.specs --specs=nosys.specs
# Add source files
-src-y += stm32f1/main.c stm32f1/timer.c stm32f1/gpio.c
+src-y += stm32f1/main.c stm32f1/gpio.c
src-$(CONFIG_HAVE_GPIO_ADC) += stm32f1/adc.c
src-$(CONFIG_HAVE_GPIO_SPI) += stm32f1/spi.c
src-y += $(addprefix ../, $(wildcard lib/hal-stm32f1/source/stm32f1xx_ll_*.c))
-src-y += generic/crc16_ccitt.c generic/armcm_irq.c generic/timer_irq.c
+src-y += generic/crc16_ccitt.c generic/armcm_irq.c generic/armcm_timer.c
src-y += ../lib/cmsis-stm32f1/source/system_stm32f1xx.c
src-$(CONFIG_USBSERIAL) += stm32f1/usbserial.c generic/usb_cdc.c
src-$(CONFIG_SERIAL) += stm32f1/serial.c generic/serial_irq.c