aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-03-26 19:51:39 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-04-11 16:56:55 -0400
commit658068615dda2088c4198b3f1b4e2e8e8719c2a8 (patch)
treeb818d1210fcd5a86b36d42a4f2774d20450e0872
parentbf0f839fb1d7d8075b148e2e6788479a36f56b7e (diff)
downloadlibrambutan-658068615dda2088c4198b3f1b4e2e8e8719c2a8.tar.gz
librambutan-658068615dda2088c4198b3f1b4e2e8e8719c2a8.zip
Resurrect IWDG support.
This peripheral is identical on F1 and F2. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
-rw-r--r--libmaple/include/libmaple/iwdg.h2
-rw-r--r--libmaple/rules.mk1
2 files changed, 2 insertions, 1 deletions
diff --git a/libmaple/include/libmaple/iwdg.h b/libmaple/include/libmaple/iwdg.h
index baddf4f..80202d2 100644
--- a/libmaple/include/libmaple/iwdg.h
+++ b/libmaple/include/libmaple/iwdg.h
@@ -25,7 +25,7 @@
*****************************************************************************/
/**
- * @file iwdg.h
+ * @file libmaple/iwdg.h
* @author Michael Hope, Marti Bolivar <mbolivar@leaflabs.com>
* @brief Independent watchdog support.
*
diff --git a/libmaple/rules.mk b/libmaple/rules.mk
index b12e3ff..24b3c0e 100644
--- a/libmaple/rules.mk
+++ b/libmaple/rules.mk
@@ -13,6 +13,7 @@ CFLAGS_$(d) = $(LIBMAPLE_PRIVATE_INCLUDES) $(LIBMAPLE_INCLUDES) -Wall -Werror
# Local rules and targets
cSRCS_$(d) := flash.c
cSRCS_$(d) += gpio.c
+cSRCS_$(d) += iwdg.c
cSRCS_$(d) += nvic.c
cSRCS_$(d) += pwr.c
cSRCS_$(d) += rcc.c