summaryrefslogtreecommitdiff
path: root/examples/device/midi_test_freertos/src
diff options
context:
space:
mode:
authorKarl Palsson <[email protected]>2025-10-01 10:43:22 +0000
committerKarl Palsson <[email protected]>2025-10-01 10:47:19 +0000
commit1cec005f8fe9eeb0cfa8e42af9245449c18ec61b (patch)
tree6f9d398acfec9542a6c5ac3f49a9876d7f462e56 /examples/device/midi_test_freertos/src
parent43e6c9dda7be1a38236989138e1e5693a50fb5ca (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/device/midi_test_freertos/src')
-rw-r--r--examples/device/midi_test_freertos/src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/midi_test_freertos/src/main.c b/examples/device/midi_test_freertos/src/main.c
index 9dd66c526..070906d0d 100644
--- a/examples/device/midi_test_freertos/src/main.c
+++ b/examples/device/midi_test_freertos/src/main.c
@@ -48,7 +48,7 @@
#endif
#define BLINKY_STACK_SIZE configMINIMAL_STACK_SIZE
-#define MIDI_STACK_SIZE configMINIMAL_STACK_SIZE
+#define MIDI_STACK_SIZE 2*configMINIMAL_STACK_SIZE
// static task
#if configSUPPORT_STATIC_ALLOCATION