aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/stm32f1/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/stm32f1/rules.mk')
-rw-r--r--libmaple/stm32f1/rules.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/libmaple/stm32f1/rules.mk b/libmaple/stm32f1/rules.mk
index b67f446..0effea3 100644
--- a/libmaple/stm32f1/rules.mk
+++ b/libmaple/stm32f1/rules.mk
@@ -7,9 +7,12 @@ BUILDDIRS += $(BUILD_PATH)/$(d)
# Local flags
CFLAGS_$(d) = -I$(d) $(LIBMAPLE_PRIVATE_INCLUDES) $(LIBMAPLE_INCLUDES) -Wall -Werror
+# Extra BUILDDIRS
+BUILDDIRS += $(BUILD_PATH)/$(d)/$(MCU_F1_LINE)
+
# Local rules and targets
-sSRCS_$(d) := isrs_performance.S
-sSRCS_$(d) += vector_table_performance.S
+sSRCS_$(d) := $(MCU_F1_LINE)/isrs.S
+sSRCS_$(d) += $(MCU_F1_LINE)/vector_table.S
cSRCS_$(d) := adc.c
cSRCS_$(d) += bkp.c