]> begriffs open source - freertos/commit
Fix SMP debugging issue on rp2040 (#1174)
authorVishwanath Martur <64204611+vishwamartur@users.noreply.github.com>
Mon, 4 Nov 2024 16:21:51 +0000 (21:51 +0530)
committerGitHub <noreply@github.com>
Mon, 4 Nov 2024 16:21:51 +0000 (21:51 +0530)
commitf0d79459d6ab0ee430325a93fdb8bbf0adfada27
treed367292c227436dbb958afd9b7bb6ac756404c46
parentb4a970729baca801b3980c0f6163b0395a674ab6
Fix SMP debugging issue on rp2040 (#1174)

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

* Recover comments back

---------

Co-authored-by: ActoryOu <jay2002824@gmail.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
portable/ThirdParty/GCC/RP2040/port.c