Merge pull request #4563 from c1728p9/fix_stack_overflow

Increase background stack size to fix overflow
pull/4592/head
Jimmy Brisson 2017-06-19 11:04:51 -05:00 committed by GitHub
commit d8061216fe
2 changed files with 5 additions and 0 deletions

View File

@ -32,7 +32,9 @@
#define OS_STACK_SIZE MBED_CONF_APP_THREAD_STACK_SIZE
#define OS_TIMER_THREAD_STACK_SIZE 768
#ifndef OS_IDLE_THREAD_STACK_SIZE
#define OS_IDLE_THREAD_STACK_SIZE 256
#endif
#define OS_DYNAMIC_MEM_SIZE 0

View File

@ -43,6 +43,9 @@
#define INITIAL_SP (0x20040000UL)
#endif
// More than 256 bytes are needed for the idle thread stack on the NRF52840
#define OS_IDLE_THREAD_STACK_SIZE 512
#endif // defined(TARGET_MCU_NRF51822)...
#endif // #ifndef MBED_MBED_RTX_H