• Home
  • Annotate
  • current directory
Name Date Size #Lines LOC

..21-Aug-2025-

.ci/attachconfig/21-Aug-2025-

applications/21-Aug-2025-

board/21-Aug-2025-

figures/21-Aug-2025-

libcpu/21-Aug-2025-

tools/21-Aug-2025-

.config A D21-Aug-202546 KiB1,4081,300

.gitignore A D21-Aug-2025394 4545

Kconfig A D21-Aug-2025407 2115

README.md A D21-Aug-20252.1 KiB9365

SConscript A D21-Aug-2025277 139

SConstruct A D21-Aug-20251.2 KiB4534

link.ld A D21-Aug-20257.7 KiB278234

rtconfig.h A D21-Aug-20258 KiB41076

rtconfig.py A D21-Aug-202518.8 KiB7452

README.md

1# Raspberry PICO
2
3## Introduction
4
5**Raspberry Pi Pico is a low-cost, high-performance microcontroller board with flexible digital interfaces.**
6
7**Key features include:**
8
9- RP2040 microcontroller chip designed by Raspberry Pi in the United Kingdom
10- Dual-core Arm Cortex M0+ processor, flexible clock running up to 133 MHz
11- 264KB of SRAM, and 2MB of on-board Flash memory
12- Castellated module allows soldering direct to carrier boards
13- USB 1.1 with device and host support
14- Low-power sleep and dormant modes
15
16- Drag-and-drop programming using mass storage over USB
17- 26 × multi-function GPIO pins
18- 2 × SPI, 2 × I2C, 2 × UART, 3 × 12-bit ADC, 16 × controllable PWM channels
19- Accurate clock and timer on-chip
20- Temperature sensor
21- Accelerated floating-point libraries on-chip
22- 8 × Programmable I/O (PIO) state machines for custom peripheral support
23
24
25
26![Pico-R3-Pinout](figures/Pico-R3-Pinout.svg)
27
28## Supported compiler
29
30Support GCC 6 and above compilers.
31
32## Program firmware
33
34### Step 1: download pico sdk
35
36```bash
37pkgs --update
38```
39
40### Step 2: build
41
42```bash
43scons -c
44scons
45```
46
47**gcc version >= 6.x.x**
48
49### Step 3: flash
50
51scons generates a UF2 file:
52
53![elf2uf2](figures/elf2uf2.png)
54
55- Copy the rtthread-pico.uf2 file to the "RPI-RP2" disk
56- Then led blink.
57
58Or you can use the picotool by:
59
60```bash
61picotool load rtthread-pico.uf2
62picotool reboot
63```
64
65## Running Result
66
67The output information on serial port should be like this:
68
69```bash
70 \ | /
71- RT -     Thread Operating System
72 / | \     4.0.3 build Jan 28 2021
73 2006 - 2021 Copyright by rt-thread team
74Hello, RT-Thread!
75msh >
76```
77
78## Peripheral Condition
79
80| Drive | Support | Remark  |
81| ----- | ------- | ------- |
82| UART  | Support | UART0/1 |
83| GPIO  | Support | 0-29    |
84| I2C   | Support | -       |
85| RTC   | Support | -       |
86| SDIO  | -       | -       |
87| SPI   | Support | -       |
88| TIMER | Support | -       |
89| WDT   | Support | -       |
90| ADC   | Support | -       |
91| FLASH | Support | -       |
92| PWM   | Support | -       |
93