aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/LLD/xWDGv1/hal_wdg_lld.c
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-01-11 07:49:03 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-01-11 07:49:03 +0000
commit3bc44a8219e5991a2c0e5e8e70422a32a3e32000 (patch)
treef0a91bcb4e2353dfe4fb779266483bfd3adb2963 /os/hal/ports/STM32/LLD/xWDGv1/hal_wdg_lld.c
parenteb94f80aa35fc9b316ddcc722249ba826c1dc349 (diff)
downloadChibiOS-3bc44a8219e5991a2c0e5e8e70422a32a3e32000.tar.gz
ChibiOS-3bc44a8219e5991a2c0e5e8e70422a32a3e32000.tar.bz2
ChibiOS-3bc44a8219e5991a2c0e5e8e70422a32a3e32000.zip
Added RTC and WDG support to H7.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11261 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/LLD/xWDGv1/hal_wdg_lld.c')
-rw-r--r--os/hal/ports/STM32/LLD/xWDGv1/hal_wdg_lld.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/LLD/xWDGv1/hal_wdg_lld.c b/os/hal/ports/STM32/LLD/xWDGv1/hal_wdg_lld.c
index dac05a706..45856cbe8 100644
--- a/os/hal/ports/STM32/LLD/xWDGv1/hal_wdg_lld.c
+++ b/os/hal/ports/STM32/LLD/xWDGv1/hal_wdg_lld.c
@@ -35,6 +35,10 @@
#define KR_KEY_WRITE 0x5555U
#define KR_KEY_PROTECT 0x0000U
+#if !defined(IWDG) && defined(IWDG1)
+#define IWDG IWDG1
+#endif
+
/*===========================================================================*/
/* Driver exported variables. */
/*===========================================================================*/