-
As a pedagogical exercise, I wrote an app with one task that blink a led and push some string in a Message buffer. (task1) My problem is that everything get stuck when I use xMessageBufferReceive().
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Without looking in detail, using Perhaps test and report if you could, please. Then we can look in more detail. There's a low level print function available as an option, IIRC. |
Beta Was this translation helpful? Give feedback.
-
Oh boy! That worked but it was nearly impossible to detect! I'll look into past issues. |
Beta Was this translation helpful? Give feedback.
-
I looked in the past issued using |
Beta Was this translation helpful? Give feedback.
-
Best to check the Arduino Serial Class to be sure, but anyway the general suggestions given here by Adafruit apply. But remember the standard stack is replaced by individual Task stacks that are size limited, rather than being all the free memory growing down to the end of the heap. |
Beta Was this translation helpful? Give feedback.
Without looking in detail, using
Serial.println()
is an Arduino C++ trap. Expect to need over 512 bytes of stack to instantiate that class of functions, IIRC, and 128 bytes is nowhere near sufficient. Check other past issues here for more details.Perhaps test and report if you could, please. Then we can look in more detail.
There's a low level print function available as an option, IIRC.