# pikascript in pico

This bsp is based on https://github.com/GorgonMeducer/Pico_Template.

and https://github.com/majbthrd/pico-debug

To see the [LICENSE](../../../../blob/master/bsp/pico/LECENSE.md)

And this bsp is an  **MDK-keil**  project.

## Usage
1. Run and install the GorgonMeducer.perf_counter.1.7.6.pack

2. Boot the Pico with the BOOTSEL button pressed.

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.

4. Open the MDK/mdk projcet.

5. Compile and Debug

6. The  **printf** is connected to usart debug viewer.

![image](https://user-images.githubusercontent.com/88232613/148212737-4f4938fa-e895-4549-8901-01d3b594bb4e.png)