diff options
| author | Karl Palsson <[email protected]> | 2025-10-01 10:43:22 +0000 |
|---|---|---|
| committer | Karl Palsson <[email protected]> | 2025-10-01 10:47:19 +0000 |
| commit | 1cec005f8fe9eeb0cfa8e42af9245449c18ec61b (patch) | |
| tree | 6f9d398acfec9542a6c5ac3f49a9876d7f462e56 /examples/host | |
| parent | 43e6c9dda7be1a38236989138e1e5693a50fb5ca (diff) | |
examples/device/*_freertos: expand stack size when needed
All four of these examples immediately crashed on stack overflow when
connected, at least on a FRDM_K64F board.
In 46fd82299040f the default freertos stack size was increased, but
_only_ for stm32? Perhaps either all platform examples need the default
increased, rather than increasing the problem task stacks as is done
here.
Signed-off-by: Karl Palsson <[email protected]>
Diffstat (limited to 'examples/host')
| -rw-r--r-- | examples/host/cdc_msc_hid_freertos/src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/host/cdc_msc_hid_freertos/src/main.c b/examples/host/cdc_msc_hid_freertos/src/main.c index d498c1b57..4a9031278 100644 --- a/examples/host/cdc_msc_hid_freertos/src/main.c +++ b/examples/host/cdc_msc_hid_freertos/src/main.c @@ -34,7 +34,7 @@ #define USBH_STACK_SIZE 4096 #else // Increase stack size when debug log is enabled - #define USBH_STACK_SIZE (3*configMINIMAL_STACK_SIZE/2) * (CFG_TUSB_DEBUG ? 2 : 1) + #define USBH_STACK_SIZE (4*configMINIMAL_STACK_SIZE/2) * (CFG_TUSB_DEBUG ? 2 : 1) #endif |
