Build Notes
New project setup - clone .vscode
directory with launch.json
and settings.json
into project root
If a manual make
was done outside of VSCode, nuke the builddir with
cd sony-dummy-flash
rm -rf build
mkdir build
Run cmake with debug symbols
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
Launch VSCode with build directory
export PICO_SDK_PATH=/home/growlph/Code/pico/pico-sdk
code
openocd -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 5000" -c "program sony_dummy_flash.elf verify reset exit" -s tcl