summaryrefslogtreecommitdiff
path: root/src/stm32f4/ao_arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32f4/ao_arch.h')
-rw-r--r--src/stm32f4/ao_arch.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stm32f4/ao_arch.h b/src/stm32f4/ao_arch.h
index 73eb793f..d4c78f60 100644
--- 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")