will-v-pi

Results 141 comments of will-v-pi

Just to add [another example of gaps in ELF files causing issues](https://forums.raspberrypi.com/viewtopic.php?t=385318) This is with OpenOCD loading the ELF, which suggests that OpenOCD loads in sections rather than segments, and...

> I have just installed pico-sdk and picotool, and built picotools using Terminal on Mac OS 12.7.5 using the commands given in the RP getting-started-with-pico.pdf > No errors during installation....

Firstly, try adding `sudo make install` to the end of the picotool commands, and that should fix it. The SDK can't find the picotool you've built unless you install it...

> Location inside `CMAKE_INSTALL_PREFIX` needs to be the same like inside `picotool_DIR`. Just to clarify, `CMAKE_INSTALL_PREFIX` should not be set to the same as `picotool_DIR` - as stated in the...

> Ideally, the Pico should reboot into BOOTSEL mode automatically when main() returns, even. I wonder how I can accomplish that - googling for this is difficult because all the...

You don't need `pico_stdio_usb` in your CMakeLists.txt file - you just need `pico_stdlib` and then to add `pico_enable_stdio_usb( 1)` to that file and call `stdio_init_all()` from your binary (see the...

Added to the [readme](https://github.com/raspberrypi/picotool?tab=readme-ov-file#forced-reboots)

Closing this, as the script no longer install VS Code

Could you try replacing ``` "postRestartCommands": [ "break main", "continue" ] ``` with ``` "overrideLaunchCommands": [ "monitor reset init", "load \"${{command:raspberry-pi-pico.launchTargetPath}}\"" ], ``` in your `launch.json` configuration and see if...