projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sam3 spi: use data transfer register interrupt instead of tx finished interrupt:...
[bertos.git]
/
bertos
/
cpu
/
frame.h
diff --git
a/bertos/cpu/frame.h
b/bertos/cpu/frame.h
index b65aaed710dc9aeafe1a13e50f9f5ddeca96a67b..f7eac47e41cd0b8c187685d4f59618fcb0518fec 100644
(file)
--- a/
bertos/cpu/frame.h
+++ b/
bertos/cpu/frame.h
@@
-91,6
+91,12
@@
#define CPU_STACK_GROWS_UPWARD 0
#define CPU_SP_ON_EMPTY_SLOT 1
+#elif CPU_MSP430
+
+ #define CPU_SAVED_REGS_CNT 16
+ #define CPU_STACK_GROWS_UPWARD 1
+ #define CPU_SP_ON_EMPTY_SLOT 0
+
#else
#error No CPU_... defined.
#endif