summaryrefslogtreecommitdiff
path: root/bsp/raspberry-pico/RP2350/README.md
blob: f3ea29c809bdbaa21f617133f0d4ff2d44a84674 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# Raspberry RP2350

## 产品介绍



<img src="./figures/rp2350.png" alt="image-20250804204324351" style="zoom:50%;" />



- 高性能树莓派RP2350芯片
  - 双核双架构设计,可选择Arm Cortex-M33或Hazard3 RISC-V内核
  - 150MHz主频
  - 520KB RAM,2MB flash
- 高度集成,超小尺寸
  - 尺寸仅25*20.5mm
  - 集成锂电池充电管理、电池电压监测
  - 引出11个IO
- 低功耗,休眠功耗仅25uA
- 支持C/C++、MicroPython编程
- 单面布局,半孔工艺,可用于贴片生产



## 程序烧写

- 注意:当前bsp需要在linux环境下才能编译

- 测试环境:Ubuntu21

### Step 1: 下载sdk

```bash
menuconfig
pkgs --update
```

### Step 2: 编译

```bash
scons -c
scons
```

**gcc version >= 6.x.x**

### Step 3: 烧写

编译会生成uf2文件

按住boot键,再短按重启进入u盘烧写模式,此时将rp2350插入电脑会显示一个u盘

![elf2uf2](figures/elf2uf2.png)

- 复制 rtthread-pico.uf2 文件到u盘中
- 自动重启运行

或者进入boot模式后输入以下命令烧写

```bash
picotool load rtthread-pico.uf2
picotool reboot
```

## 运行结果

输出的信息如下

```bash
 \ | /
- RT -     Thread Operating System
 / | \     4.0.3 build Jan 28 2021
 2006 - 2021 Copyright by rt-thread team
Hello, RT-Thread!
msh >
```

## 支持的外设

| Drive | Support | Remark  |
| ----- | ------- | ------- |
| UART  | Support | UART0/1 |
| GPIO  | Support | 0-29    |