X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstm32f4%2Fao_arch.h;h=7dd4c80d79266b00856f43677a5fe1cfc04f476f;hb=d6c3c3618a708d2a1a7948454710e6ae21c2a426;hp=4e9bdeb68b8202bf0befe59e4a397515e546cc99;hpb=44ae8b9317fa4aaccabbe9d07b5972f7dfd3baa2;p=fw%2Faltos diff --git a/src/stm32f4/ao_arch.h b/src/stm32f4/ao_arch.h index 4e9bdeb6..7dd4c80d 100644 --- a/src/stm32f4/ao_arch.h +++ b/src/stm32f4/ao_arch.h @@ -19,7 +19,11 @@ #include #ifndef AO_STACK_SIZE -#define AO_STACK_SIZE 1024 +#define AO_STACK_SIZE 2048 +#endif + +#ifndef HAS_TASK_QUEUE +#define HAS_TASK_QUEUE 1 #endif #define AO_STACK_ALIGNMENT __attribute__ ((aligned(8))) @@ -34,9 +38,6 @@ #define AO_ROMCONFIG_SYMBOL __attribute__((section(".romconfig"))) const -#define ao_arch_task_members\ - uint32_t *sp; /* saved stack pointer */ - #define ao_arch_naked_declare __attribute__((naked)) #define ao_arch_naked_define