FreeRTOS Readme and examples needs to update? #2160
-
Hi It seems that FreeRTOS library ( As about the examples, the one |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The README.md was untouched from the original port-of-a-port so please ignore anything it says. :) For the example, it does work but it's got race conditions such that as soon as a task gives up a mutex it re-grabs it before the other task can take it, so the led doesn't blink. Adding a |
Beta Was this translation helpful? Give feedback.
-
Thank you very much, after adding the delay the example works fine. Addition. |
Beta Was this translation helpful? Give feedback.
The README.md was untouched from the original port-of-a-port so please ignore anything it says. :)
For the example, it does work but it's got race conditions such that as soon as a task gives up a mutex it re-grabs it before the other task can take it, so the led doesn't blink. Adding a
delay(1)
to the end of eachwhile
takes care of this, so I'll throw a PR up for it. Also change the default output to the USB port, not UART0.