Skip to content

WIP - Make FreeRTOS a first-class citizen #3063

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Conversation

earlephilhower
Copy link
Owner

With the expanded performance and memory of the Pico 2, having a full operating system with threads could really improve developer life and get the best possible algorithm performance.

Start by moving FreeRTOS checks from a global bool set by weak function linkage checks to a compiler definition. This can allow the build process to differ between bare metal and FreeRTOS builds (i.e. async_context implementations) and save a few bytes of program space.

@earlephilhower earlephilhower force-pushed the freesanity branch 2 times, most recently from 0e85745 to 3aabdc9 Compare August 8, 2025 17:26
With the expanded performance and memory of the Pico 2, having a full
operating system with threads could really improve developer life and
get the best possible algorithm performance.

Start by moving FreeRTOS checks from a global bool set by weak function
linkage checks to a compiler definition.  This can allow the build process
to differ between bare metal and FreeRTOS builds (i.e. async_context
implementations) and save a few bytes of program space.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant