projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix variable name. Remove for now the api from doxygen. Add callback for streaming.
[bertos.git]
/
bertos
/
cpu
/
cortex-m3
/
io
/
sam3_sysctl.h
diff --git
a/bertos/cpu/cortex-m3/io/sam3_sysctl.h
b/bertos/cpu/cortex-m3/io/sam3_sysctl.h
index f83cce2185cc6dcd1577c27b02a6477755bfcd9b..6853d067cb6488eec8c8ad0fd84e45881497cd22 100644
(file)
--- 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 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.
/**
* Supply controller offsets.