This PR introduces an option board_upload_target to select the target via platform.ini. Additionally, the default value of recent openocd builds (rp2040.core0) is replicated as default value.
Without targets being selected, flash programming will fail with an error similiar to Warn : no flash bank found for address 0x... .
Successful upload via openocd requires a core to be selected. Most recent raspberrypi-openocd has a default selection of core 0 builtin, but the version currently deployed by platformio is missing this preselection. Hence the selection must be made externally.
This PR introduces an option
board_upload_target
to select the target viaplatform.ini
. Additionally, the default value of recent openocd builds (rp2040.core0
) is replicated as default value.Without targets being selected, flash programming will fail with an error similiar to
Warn : no flash bank found for address 0x...
.