Skip to content

Commit 88c2476

Browse files
jfischer-nonashif
authored andcommitted
samples: usb: mass: increase main stack size
"ZEPHYR FATAL ERROR 2: Stack overflow on CPU 0" observed on a few supported platforms when using SD card disk. Increase main stack size for next USB device stack configuration to prevent stack overflow. Signed-off-by: Johann Fischer <[email protected]>
1 parent 57f6077 commit 88c2476

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/subsys/usb/mass/usbd_next_prj.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ CONFIG_UDC_DRIVER_LOG_LEVEL_WRN=y
1212

1313
CONFIG_SAMPLE_USBD_PID=0x0008
1414
CONFIG_SAMPLE_USBD_PRODUCT="USBD MSC sample"
15-
CONFIG_MAIN_STACK_SIZE=1536
15+
CONFIG_MAIN_STACK_SIZE=2048

0 commit comments

Comments
 (0)