This bsp is based on https://github.com/GorgonMeducer/Pico_Template.
and https://github.com/raspberrypi/pico-sdk
To see the LICENSE
And this bsp is an MDK-keil project.
Run and install the GorgonMeducer.perf_counter.x.x.x.pack (double click)
Boot the Pico with the BOOTSEL button pressed.
Drag and drop pico-debug-gimmecache.uf2 to RPI-RP2 mass-storage driver in the explorer. It immediately reboots as a CMSIS-DAP adapter. Pico-debug loads as a RAM only .uf2 image, meaning that it is never written to flash and doesn't replace existing user code.
Open the MDK/mdk projcet.
Compile and Debug
The printf is connected to usart debug viewer.