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 d7d20744..9fca3561 100644
--- a/src/stm32f1/Makefile
+++ b/src/stm32f1/Makefile
@@ -8,7 +8,7 @@ dirs-y += lib/cmsis-stm32f1/source
dirs-y += lib/hal-stm32f1/source
CFLAGS += -mthumb -mcpu=cortex-m3
-CFLAGS += -Ilib/cmsis-stm32f1/include -Ilib/cmsis-stm32f1/cmsis-include
+CFLAGS += -Ilib/cmsis-stm32f1/include -Ilib/cmsis-stm32f1/cmsis-include
CFLAGS += -Ilib/hal-stm32f1/include
CFLAGS += -DSTM32F103xB
CFLAGS += -O3
@@ -28,7 +28,7 @@ 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 += ../lib/cmsis-stm32f1/source/system_stm32f1xx.c
src-ys = ../lib/cmsis-stm32f1/source/startup_stm32f103xb.s
-src-$(CONFIG_SERIAL) += stm32f1/serial.c
+src-$(CONFIG_SERIAL) += stm32f1/serial.c generic/serial_irq.c
# Build the additional hex output file
target-y += $(OUT)klipper.bin