projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove path from toolchain when creating presets (use the system one).
[bertos.git]
/
bertos
/
cpu
/
cortex-m3
/
io
/
sam3_pmc.h
diff --git
a/bertos/cpu/cortex-m3/io/sam3_pmc.h
b/bertos/cpu/cortex-m3/io/sam3_pmc.h
index b661c3b9e5bf69e5ea615d7bfdfe3204803fdccc..b0801c3d193a03e2466b9960148978397418b074 100644
(file)
--- a/
bertos/cpu/cortex-m3/io/sam3_pmc.h
+++ b/
bertos/cpu/cortex-m3/io/sam3_pmc.h
@@
-37,7
+37,11
@@
#define SAM3_PMC_H
/** PMC registers base. */
-#define PMC_BASE 0x400E0400
+#if CPU_CM3_SAM3X
+ #define PMC_BASE 0x400E0600
+#else
+ #define PMC_BASE 0x400E0400
+#endif
/**
* PMC register offsets.