Skip to content
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

FreeRTOS v11 support #1659

Open
eamars opened this issue Mar 5, 2024 · 2 comments
Open

FreeRTOS v11 support #1659

eamars opened this issue Mar 5, 2024 · 2 comments
Labels
Milestone

Comments

@eamars
Copy link

eamars commented Mar 5, 2024

Hello All
Given the FreeRTOS v11 is released at the end of 2023, the pico-sdk,especially the functions that supports SMP, needed to be updated to support the new flag to properly incorporate with SMP.

For example
https://github.com/raspberrypi/pico-sdk/blob/master/src/rp2_common/pico_async_context/async_context_freertos.c#L15

The code

#if configNUM_CORES > 1 && !defined(configUSE_CORE_AFFINITY)
#error async_context_freertos requires configUSE_CORE_AFFINITY under SMP
#endif

Should be updated to look for the new config configNUMBER_OF_CORES.
There are more files need to be updated.

Reference:
https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/smp/README.md

@peterharperuk
Copy link
Contributor

#1530

We suspect there might be more work to do

@eamars
Copy link
Author

eamars commented Mar 5, 2024

Thanks for pointing this out @peterharperuk
I'm testing the compatibility of FreeRTOS v11 with Picosdk right now and haven't found any issues so far.

@kilograham kilograham added this to the 1.6.0 milestone May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants