Skip to content

Commit e38b215

Browse files
Fix freertos sys examples (#499)
Increase stack size.
1 parent 28f4b95 commit e38b215

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pico_w/wifi/freertos/FreeRTOSConfig_examples_common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
#define configUSE_TICK_HOOK 0
4848
#define configTICK_RATE_HZ ( ( TickType_t ) 1000 )
4949
#define configMAX_PRIORITIES 32
50-
#define configMINIMAL_STACK_SIZE ( configSTACK_DEPTH_TYPE ) 256
50+
#define configMINIMAL_STACK_SIZE ( configSTACK_DEPTH_TYPE ) 512
5151
#define configUSE_16_BIT_TICKS 0
5252

5353
#define configIDLE_SHOULD_YIELD 1

pico_w/wifi/freertos/ping/lwipopts.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#if !NO_SYS
1111
#define TCPIP_THREAD_STACKSIZE 1024
12-
#define DEFAULT_THREAD_STACKSIZE 1024
12+
#define DEFAULT_THREAD_STACKSIZE 2048
1313
#define DEFAULT_RAW_RECVMBOX_SIZE 8
1414
#define TCPIP_MBOX_SIZE 8
1515
#define LWIP_TIMEVAL_PRIVATE 0

0 commit comments

Comments
 (0)