From 553345d96e71c16d443ec76361ac89b271d546ec Mon Sep 17 00:00:00 2001 From: r3drock <38569066+r3drock@users.noreply.github.com> Date: Sat, 23 Dec 2023 15:00:51 +0000 Subject: [PATCH] Updated Getting started (markdown) --- Getting-started.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) 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")