2021-12-14 03:26:18 +00:00
# pikascript in pico
This bsp is based on https://github.com/GorgonMeducer/Pico_Template.
2022-01-06 22:33:59 +08:00
and https://github.com/majbthrd/pico-debug
2022-01-06 14:21:23 +00:00
2022-01-06 22:35:29 +08:00
To see the [LICENSE ](../../../../blob/master/bsp/pico/LECENSE.md )
2022-01-06 14:21:23 +00:00
2021-12-14 03:39:24 +00:00
And this bsp is an **MDK-keil** project.
2021-12-14 03:39:15 +00:00
2021-12-14 03:26:18 +00:00
## Usage
2022-01-06 02:07:07 +00:00
1. Run and install the GorgonMeducer.perf_counter.1.7.6.pack
2021-12-14 03:26:18 +00:00
2022-01-06 02:07:07 +00:00
2. Boot the Pico with the BOOTSEL button pressed.
2021-12-14 03:26:18 +00:00
2022-01-06 02:07:07 +00:00
3. 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.
2021-12-14 03:26:18 +00:00
2022-01-06 02:07:07 +00:00
4. Open the MDK/mdk projcet.
2021-12-14 03:26:18 +00:00
2022-01-06 02:07:07 +00:00
5. Compile and Debug
2021-12-14 03:26:18 +00:00
2022-01-06 02:07:07 +00:00
6. The **printf** is connected to usart debug viewer.
2021-12-14 11:31:04 +08:00
2022-01-05 19:46:54 +08:00
![image ](https://user-images.githubusercontent.com/88232613/148212737-4f4938fa-e895-4549-8901-01d3b594bb4e.png )