FreeRTOS-Kernel
FreeRTOS-Kernel copied to clipboard
Fix SMP debugging issue on rp2040
Related to #1172
Add multicore_reset_core1 before multicore_launch_core1 in xPortStartScheduler function to fix debugging issue on rp2040 with SMP enabled.
- Modify
portable/ThirdParty/GCC/RP2040/port.cto include a call tomulticore_reset_core1beforemulticore_launch_core1within the#if portRUNNING_ON_BOTH_CORESblock.
This works. For future reference: My last comment in the issue, about the Timer issue this is related to.
Reached out to Raspbery Pi to confirm that they are okay with the change.
Hi @aggarg and team,
Thanks for the update and for reaching out to Raspberry Pi for confirmation. Please let me know if any additional input or verification is needed from my end. I'll be happy to assist further.
Thanks again for your support!
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code