projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge contributed patch to extend support of atxmega.
[bertos.git]
/
bertos
/
cpu
/
attr.h
diff --git
a/bertos/cpu/attr.h
b/bertos/cpu/attr.h
index 5c2107a8b93fea8ad45f29efccca9a0ac42d031b..331f26dff0c372d7290a7e9862b9651ac36dfafc 100644
(file)
--- a/
bertos/cpu/attr.h
+++ b/
bertos/cpu/attr.h
@@
-258,6
+258,8
@@
#define CPU_RAM_START 0x100
#elif CPU_AVR_ATMEGA1281 || CPU_AVR_ATMEGA1280 || CPU_AVR_ATMEGA2560
#define CPU_RAM_START 0x200
#define CPU_RAM_START 0x100
#elif CPU_AVR_ATMEGA1281 || CPU_AVR_ATMEGA1280 || CPU_AVR_ATMEGA2560
#define CPU_RAM_START 0x200
+ #elif CPU_AVR_XMEGA
+ #define CPU_RAM_START 0x2000
#else
#warning Fix CPU_RAM_START address for your AVR, default value set to 0x100
#define CPU_RAM_START 0x100
#else
#warning Fix CPU_RAM_START address for your AVR, default value set to 0x100
#define CPU_RAM_START 0x100