In the Raspberry Pico/RP2040 SMP demos, there are almost identically examples for running on Core 0 and 1. The source is the same for the two examples, but the build file enables stio for the core0 example, and comments out that support for the core1 build.
build commands for core 0 example:
pico_add_extra_outputs(on_core_zero)
pico_enable_stdio_usb(on_core_zero 1)
for core 1 example, that last line is commented out:
pico_add_extra_outputs(on_core_one)
#pico_enable_stdio_usb(on_core_one 1)
As a new user I can’t create a link, but here is the github location - on the SMP branch:
FreeRTOS-SMP-Demos/FreeRTOS/Demo/CORTEX_M0+_RP2040/OnEitherCore/CMakeLists.txt , line 38
#pico_enable_stdio_usb(on_core_one 1)
What is the reason for the difference ?