| commit | d0c03d2564fb6aa2cccfe9e08f48efe7e2463ace | [log] [tgz] |
|---|---|---|
| author | Jonathan Bell <jonathan@raspberrypi.com> | Tue Jan 30 14:41:46 2024 +0000 |
| committer | P33M <2474547+P33M@users.noreply.github.com> | Mon Feb 05 16:17:46 2024 +0000 |
| tree | 973778522449a78323b03842f890d624af5c0bd5 | |
| parent | 1267a8c367c73ef659cac3fde22ffc3e3074fd99 [diff] |
Rename picoprobe to debugprobe Picoprobe is a registered trademark. Rename to debugprobe, and make it clear that the code in this repository is firmware for the Debug Probe.
Firmware source for the Debug Probe SWD/UART accessory. Can also be run on a Pico.
Debug Probe documentation can be found in the Pico Getting Started Guide. See “Appendix A: Using the Debug Probe”.
For the purpose of making changes or studying of the code, you may want to compile the code yourself.
To compile this project firstly initialize and update the submodules:
git submodule update --init
then create and switch to the build directory:
mkdir build cd build
then run cmake and build the code:
cmake .. make
Done! You should now have a debugprobe.uf2 that you can upload to your Debug Probe via the UF2 bootloader.
If you want to create the version that runs on the Raspberry Pi Pico, then you need to invoke cmake in the sequence above with the DEBUG_ON_PICO=ON option:
cmake -DDEBUG_ON_PICO=ON ..
This will build with the configuration for the Pico and call the output program debugprobe_on_pico.uf2, as opposed to debugprobe.uf2 for the accessory hardware.
Note that if you first ran through the whole sequence to compile for the Debug Probe, then you don't need to start back at the top. You can just go back to the cmake step and start from there.