diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-06-12 16:01:12 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-06-12 16:02:13 -0400 |
commit | ba1d9f5eb6539003515b958b4935a06868e27733 (patch) | |
tree | 9f2917f5992394febb08101bf246b3e554000db5 | |
parent | 1d4c35901150ac7adab003a7fd4f432ec3250c91 (diff) | |
download | librambutan-ba1d9f5eb6539003515b958b4935a06868e27733.tar.gz librambutan-ba1d9f5eb6539003515b958b4935a06868e27733.zip |
Build libmaple/dma.c on STM32F1.
F2 doesn't work yet.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
-rw-r--r-- | libmaple/rules.mk | 4 |
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 |