-
Notifications
You must be signed in to change notification settings - Fork 837
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
Assertion error when calling cyw43_arch_init() in FreeRTOS #1526
Comments
The only workaround I've found so far is commenting out the |
Is this with the latest FreeRTOS where they have merged the |
Thanks for the code. I'll have a look. |
I can reproduce the assert with the freertos commit you're using 37678b06568fda7aaff090b77e8e34d6ab29ede4, going back to the smp branch and it works ok. So as @kilograham says, it looks like something has changed. |
The problem is that they renamed configNUM_CORES to configNUMBER_OF_CORES, you either need to add #define configNUM_CORES configNUMBER_OF_CORES to the freertos config file or do a search and replace in the pico-sdk, until we can fix this. |
The Freertos SMP branch has been merged into main with configNUM_CORES renamed to configNUMBER_OF_CORES Fixes raspberrypi#1526
Thanks, it works after adding the #define to the config. I'm on the develop branch anyway due to #737 (has been fixed in #1488) and should get the fix when @kilograham approves the merge. |
The Freertos SMP branch has been merged into main with configNUM_CORES renamed to configNUMBER_OF_CORES Fixes raspberrypi#1526
When I try to call
cyw43_arch_init()
in a FreeRTOS task I get the following error printed to the serial:I have the code on my repo here, however it is in a bit of a mess so here's a cleaned up version of the main file:
Possibly related to #1478?
In addition, I've tried this with both the master and develop branches of the SDK; it is broken with both of them.
The text was updated successfully, but these errors were encountered: