projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reorder includes.
[bertos.git]
/
bertos
/
cpu
/
cortex-m3
/
io
/
sam3_uart.h
diff --git
a/bertos/cpu/cortex-m3/io/sam3_uart.h
b/bertos/cpu/cortex-m3/io/sam3_uart.h
index 9a4e12b5a03cdf2c232308941691d55e258c282a..97ad3ff26151461f060dad1657dc0836800e17cf 100644
(file)
--- a/
bertos/cpu/cortex-m3/io/sam3_uart.h
+++ b/
bertos/cpu/cortex-m3/io/sam3_uart.h
@@
-40,9
+40,13
@@
* UART registers base addresses.
*/
/*\{*/
* UART registers base addresses.
*/
/*\{*/
-#define UART0_BASE 0x400E0600
-#ifndef CPU_CM3_SAM3U
+#if CPU_CM3_SAM3N
+ #define UART0_BASE 0x400E0600
+#elif CPU_CM3_SAM3U
+ #define UART0_BASE 0x400E0600
#define UART1_BASE 0x400E0800
#define UART1_BASE 0x400E0800
+#elif CPU_CM3_SAM3X
+ #define UART0_BASE 0x400E0800
#endif
/*\}*/
#endif
/*\}*/