X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Fcortex-m3%2Fio%2Fsam3_wdt.h;h=b57d06ee31b51387fb520d531730860a4207122b;hb=9525bb5f7e0bf15bd0b11a21055adf804c6aa478;hp=8c8325ca6e26ef7cbbbad9a626aa98f4c29a5624;hpb=c37e6a3f6900ec803c2608fb387054247bab88aa;p=bertos.git diff --git a/bertos/cpu/cortex-m3/io/sam3_wdt.h b/bertos/cpu/cortex-m3/io/sam3_wdt.h index 8c8325ca..b57d06ee 100644 --- 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 */ /*\{*/