aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libmaple/include/libmaple/bkp.h2
-rw-r--r--libmaple/rules.mk1
-rw-r--r--libmaple/stm32f1/bkp.c (renamed from libmaple/bkp.c)0
-rw-r--r--libmaple/stm32f1/rules.mk1
4 files changed, 2 insertions, 2 deletions
diff --git a/libmaple/include/libmaple/bkp.h b/libmaple/include/libmaple/bkp.h
index 92359b6..7f90c0c 100644
--- a/libmaple/include/libmaple/bkp.h
+++ b/libmaple/include/libmaple/bkp.h
@@ -26,7 +26,7 @@
/**
* @file bkp.h
- * @brief Backup register support.
+ * @brief Backup register support (STM32F1 only).
*/
#ifndef _LIBMAPLE_BKP_H_
diff --git a/libmaple/rules.mk b/libmaple/rules.mk
index f0776a7..61d4edd 100644
--- a/libmaple/rules.mk
+++ b/libmaple/rules.mk
@@ -12,7 +12,6 @@ CFLAGS_$(d) = $(LIBMAPLE_PRIVATE_INCLUDES) $(LIBMAPLE_INCLUDES) -Wall -Werror
# Local rules and targets
cSRCS_$(d) := adc.c \
- bkp.c \
dac.c \
dma.c \
exti.c \
diff --git a/libmaple/bkp.c b/libmaple/stm32f1/bkp.c
index 62783e7..62783e7 100644
--- a/libmaple/bkp.c
+++ b/libmaple/stm32f1/bkp.c
diff --git a/libmaple/stm32f1/rules.mk b/libmaple/stm32f1/rules.mk
index 5267e9b..32b3a2c 100644
--- a/libmaple/stm32f1/rules.mk
+++ b/libmaple/stm32f1/rules.mk
@@ -14,6 +14,7 @@ sSRCS_$(d) := isrs_performance.S \
cSRCS_$(d) := rcc.c
cSRCS_$(d) += flash.c
cSRCS_$(d) += gpio.c
+cSRCS_$(d) += bkp.c
sFILES_$(d) := $(sSRCS_$(d):%=$(d)/%)
cFILES_$(d) := $(cSRCS_$(d):%=$(d)/%)