aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple')
-rw-r--r--libmaple/rules.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/libmaple/rules.mk b/libmaple/rules.mk
index be93d2e..0c29ec7 100644
--- a/libmaple/rules.mk
+++ b/libmaple/rules.mk
@@ -13,7 +13,9 @@ CFLAGS_$(d) = $(LIBMAPLE_PRIVATE_INCLUDES) $(LIBMAPLE_INCLUDES) -Wall -Werror
# Local rules and targets
cSRCS_$(d) := adc.c
cSRCS_$(d) += dac.c
-# cSRCS_$(d) += dma.c
+ifeq ($(MCU_SERIES),stm32f1) # FIXME add F2 support
+cSRCS_$(d) += dma.c
+endif
cSRCS_$(d) += exti.c
cSRCS_$(d) += flash.c
cSRCS_$(d) += gpio.c