Updated Getting started (markdown)

r3drock committed 2023-12-23 15:00:51 +00:00
1 parent f799ef4d81
commit 553345d96e
1 file changed
+9 -7
+9 -7
@@ -28,13 +28,15 @@ To build the software and run it on the Controller we need to interface the RP20
<img src="https://github.com/gab-k/RP2040-Decoder/blob/main/docs/svg/Debug_Connections.svg" width="700"/>
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")