mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #4563 from c1728p9/fix_stack_overflow
Increase background stack size to fix overflowpull/4592/head
commit
d8061216fe
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue