projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altos/stm32f4: Align stack to 8 bytes
[fw/altos]
/
src
/
stm32f4
/
ao_arch.h
diff --git
a/src/stm32f4/ao_arch.h
b/src/stm32f4/ao_arch.h
index 73eb793fbd0164b5657e4285db724bdb0dd1511a..d4c78f603dc32e04b0dacf6e1dca1c040b792281 100644
(file)
--- a/
src/stm32f4/ao_arch.h
+++ b/
src/stm32f4/ao_arch.h
@@
-19,9
+19,11
@@
#include <stm32f4.h>
#ifndef AO_STACK_SIZE
-#define AO_STACK_SIZE
512
+#define AO_STACK_SIZE
1024
#endif
+#define AO_STACK_ALIGNMENT __attribute__ ((aligned(8)))
+
#define AO_PORT_TYPE uint16_t
#define ao_arch_nop() asm("nop")