FreeRTOS-Kernel icon indicating copy to clipboard operation
FreeRTOS-Kernel copied to clipboard

Fix SMP debugging issue on rp2040

Open vishwamartur opened this issue 1 year ago • 2 comments

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.c to include a call to multicore_reset_core1 before multicore_launch_core1 within the #if portRUNNING_ON_BOTH_CORES block.

vishwamartur avatar Nov 01 '24 06:11 vishwamartur

This works. For future reference: My last comment in the issue, about the Timer issue this is related to.

0x3333 avatar Nov 01 '24 14:11 0x3333

Reached out to Raspbery Pi to confirm that they are okay with the change.

aggarg avatar Nov 04 '24 09:11 aggarg

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!

vishwamartur avatar Nov 04 '24 10:11 vishwamartur