Skip to content

Commit e776241

Browse files
tmon-nordiccarlescufi
authored andcommitted
samples: usb: mass: Increase main stack size
Increase main stack size for next USB device stack config to prevent stack overflow when FatFs is used. The new main stack size value matches the value used in old stack mass storage sample config. Fixes: #55210 Signed-off-by: Tomasz Moń <[email protected]>
1 parent e56721b commit e776241

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

samples/subsys/usb/mass/usbd_next_prj.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ CONFIG_USBD_MSC_CLASS=y
88
CONFIG_LOG=y
99
CONFIG_USBD_LOG_LEVEL_WRN=y
1010
CONFIG_UDC_DRIVER_LOG_LEVEL_WRN=y
11+
12+
CONFIG_MAIN_STACK_SIZE=1536

0 commit comments

Comments
 (0)