projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Comply to new betos module. Add comments.
[bertos.git]
/
bertos
/
cpu
/
cortex-m3
/
io
/
sam3_wdt.h
diff --git
a/bertos/cpu/cortex-m3/io/sam3_wdt.h
b/bertos/cpu/cortex-m3/io/sam3_wdt.h
index 8c8325ca6e26ef7cbbbad9a626aa98f4c29a5624..b57d06ee31b51387fb520d531730860a4207122b 100644
(file)
--- a/
bertos/cpu/cortex-m3/io/sam3_wdt.h
+++ b/
bertos/cpu/cortex-m3/io/sam3_wdt.h
@@
-73,7
+73,11
@@
#define SAM3_WDT_H
/** Watch Dog registers base address */
-#define WDT_BASE 0x400E1450
+#if CPU_CM3_SAM3N
+ #define WDT_BASE 0x400E1450
+#elif CPU_CM3_SAM3X
+ #define WDT_BASE 0x400E1A50
+#endif
/** Watch Dog Control Register */
/*\{*/