/sony-dummy-flash

Emulate a multi-interface shoe flash to a Sony camera body

Primary LanguageC

Build Notes

VSCode Debugger Setup

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

Program RP2040 from CLI using debug probe

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