FreeRTOS is a very impressive, easy to code operating system for embedded microcontrollers. Does it play well with the Raspberry Pi Foundation’s RP2040 microcontroller, the basis of the Pi Pico and other development boards? You bet it does.
This project is all about learning how to take advantage of FreeRTOS in an RP2040 project. It’s not a tutorial, more a series of explorations of the key functionality FreeRTOS offers and what those features bring to a device and its application firmware.
The project is embodied in the following GitHub repo, which provides a foundational template for other RP2040 projects in C or C++ and further applications that demo FreeRTOS functionality in an RP2040 context.
The code is used in a series of blog posts:
Developed over an 18-year period, FreeRTOS is a real-time operating system (RTOS) for microcontrollers and small microprocessors. FreeRTOS is built with an emphasis on reliability, accessibility and ease of use. It is distributed free of charge, under the MIT open source licence.
More details on the FreeRTOS website
You can view RP2040 FreeRTOS Template’s source code at GitHub.