Skip to content

Commit ad054fc

Browse files
EngineerWilldpgeorge
authored andcommitted
rp2/boards/WAVESHARE_RP2040_ZERO: Add Waveshare RP2040 Zero board.
Signed-off-by: EngWill <646689853@qq.com> Signed-off-by: Damien George <damien@micropython.org>
1 parent 8cbd320 commit ad054fc

4 files changed

Lines changed: 31 additions & 0 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"deploy": [
3+
"../deploy.md"
4+
],
5+
"docs": "",
6+
"features": [
7+
"Dual-core",
8+
"External Flash",
9+
"RGB LED",
10+
"USB-C"
11+
],
12+
"images": [
13+
"rp2040-zero-1.jpg"
14+
],
15+
"mcu": "rp2040",
16+
"product": "RP2040-Zero",
17+
"thumbnail": "",
18+
"url": "https://www.waveshare.com/product/rp2040-zero.htm",
19+
"vendor": "Waveshare"
20+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# cmake file for Waveshare RP2040-Zero
2+
set(PICO_BOARD "waveshare_rp2040_zero")
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// url: https://www.waveshare.com/product/rp2040-zero.htm
2+
// wiki: http://www.waveshare.com/wiki/RP2040-Zero
3+
4+
#define MICROPY_HW_BOARD_NAME "Waveshare RP2040-Zero"
5+
#define MICROPY_HW_FLASH_STORAGE_BYTES (1408 * 1024)
6+
7+
#define MICROPY_HW_USB_VID (0x2E8A)
8+
#define MICROPY_HW_USB_PID (0x101F)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
NEOPIXEL,GPIO16

0 commit comments

Comments
 (0)