X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Fcortex-m3%2Fio%2Fsam3_sysctl.h;h=6853d067cb6488eec8c8ad0fd84e45881497cd22;hb=d832a11ebc738d7dbfac1f4c0d9f5e77aac82337;hp=f83cce2185cc6dcd1577c27b02a6477755bfcd9b;hpb=c37e6a3f6900ec803c2608fb387054247bab88aa;p=bertos.git diff --git a/bertos/cpu/cortex-m3/io/sam3_sysctl.h b/bertos/cpu/cortex-m3/io/sam3_sysctl.h index f83cce21..6853d067 100644 --- a/bertos/cpu/cortex-m3/io/sam3_sysctl.h +++ b/bertos/cpu/cortex-m3/io/sam3_sysctl.h @@ -37,7 +37,11 @@ #define SAM3_SYSCTL_H /** Supply controller base */ -#define SUPC_BASE 0x400E1410 +#if CPU_CM3_SAM3X + #define SUPC_BASE 0x400E1A10 +#else + #define SUPC_BASE 0x400E1410 +#endif /** * Supply controller offsets.