Page 1 of 1

FREERtos on FlowCode Library for RPi Pico

Posted: Fri Apr 17, 2026 6:56 am
by Zhmil1789
Good day! This is my first time on this forum. I’d like to ask if there is a FREERtos library or a similar library available for FlowCode. I really need this library for my project, and if it exists—or if there’s an equivalent—I’d like to find out more and learn how to write code for the RPi Pico microcontroller.

Re: FREERtos on FlowCode Library for RPi Pico

Posted: Tue Apr 21, 2026 8:24 pm
by BenR
Hello,

This has been done before in Flowcode but it's a bit of a hack to make it work. At the moment on the ESP32 and the Pico I beleive there is an RTOS in the background handling things like BT and WIFI but the Flowcode program runs in a single core/task. We have made it where single macros can be defined as their own tasks before and this works but as I say it's a bit of work using some custom C code to make this happen.

We did toy with the idea of having proper RTOS handling built in years ago but the demand for it was low.

Re: FREERtos on FlowCode Library for RPi Pico

Posted: Tue Apr 21, 2026 9:54 pm
by mnfisher
Hi,

If the Pico is running FreeRTOS as the 'OS' - would it be possible to use FreeRTOS functions - such as xTaskCreate - in FC (using C blocks / supplementary code) as on the esp32?
There are several examples for the esp32 on the forums - using such features as tasks / queues etc - and it might be worth having an experiment to see if it works on the Pico....

Martin

Re: FREERtos on FlowCode Library for RPi Pico

Posted: Tue Apr 21, 2026 9:57 pm
by BenR
Yes that should be enough to do it :D