mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
20 lines
720 B
Markdown
20 lines
720 B
Markdown
# pikascript in pico
|
|
|
|
This bsp is based on https://github.com/GorgonMeducer/Pico_Template.
|
|
|
|
And this bsp is an **MDK-keil** project.
|
|
|
|
## Usage
|
|
|
|
1. Boot the Pico with the BOOTSEL button pressed.
|
|
|
|
2. 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.
|
|
|
|
3. Open the MDK/mdk projcet.
|
|
|
|
4. Compile and Debug
|
|
|
|
5. The **printf** is connected to **UART0** , and **TX is GP0** , **RX is GP1** .
|
|
|
|
![image](https://user-images.githubusercontent.com/88232613/145928146-2954bd9e-5465-4bac-94fa-f8fe13c1b1d9.png)
|