Skip to content

Commit 58ba76d

Browse files
committed
Increase stack
1 parent 81c9d8c commit 58ba76d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sdk/config/FreeRTOSConfig.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
#define configTICK_RATE_HZ ( ( TickType_t ) 1000 )
4949
#define configMAX_PRIORITIES 32
5050
#ifdef __ARM_ARCH_8M_MAIN__
51-
#define configMINIMAL_STACK_SIZE ( ( configSTACK_DEPTH_TYPE ) 512 )
51+
#define configMINIMAL_STACK_SIZE ( ( configSTACK_DEPTH_TYPE ) 2048 )
5252
#define configENABLE_FPU 0
5353
#define configENABLE_MPU 0
5454
#define configENABLE_TRUSTZONE 0
@@ -59,7 +59,7 @@
5959
#define configKERNEL_INTERRUPT_PRIORITY ( configLIBRARY_LOWEST_INTERRUPT_PRIORITY << ( 8 - configPRIO_BITS ) )
6060
#define configMAX_SYSCALL_INTERRUPT_PRIORITY ( configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY << ( 8 - configPRIO_BITS ) )
6161
#else
62-
#define configMINIMAL_STACK_SIZE ( ( configSTACK_DEPTH_TYPE ) 256 )
62+
#define configMINIMAL_STACK_SIZE ( ( configSTACK_DEPTH_TYPE ) 512 )
6363
#endif
6464
#define configUSE_16_BIT_TICKS 0
6565

0 commit comments

Comments
 (0)