diff --git a/Getting-started.md b/Getting-started.md index 12cac45..5550f78 100644 --- a/Getting-started.md +++ b/Getting-started.md @@ -28,13 +28,15 @@ To build the software and run it on the Controller we need to interface the RP20 9. To finally build and flash, open the Developer Command Prompt for Pico and type the following commands: -* git clone https://github.com/gab-k/RP2040-Decoder.git -* cd RP2040-Decoder -* mkdir build -* cd build -* cmake -G "NMake Makefiles" .. -* nmake -* openocd -f interface/picoprobe.cfg -f target/rp2040.cfg -c "program RP2040-decoder.elf verify reset exit" +```sh +git clone https://github.com/gab-k/RP2040-Decoder.git +cd RP2040-Decoder +mkdir build +cd build +cmake -G "NMake Makefiles" .. +nmake +openocd -f interface/picoprobe.cfg -f target/rp2040.cfg -c "program RP2040-decoder.elf verify reset exit" +``` (Note: On newer SDKs use this command: openocd -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 5000" -c"program rp2040-decoder.elf verify reset exit")