8000 ports/rp2/boards: Add Waveshare RP2040-Zero. · micropython/micropython@71dc41b · GitHub
[go: up one dir, main page]

Skip to content

Commit 71dc41b

Browse files
committed
ports/rp2/boards: Add Waveshare RP2040-Zero.
Waveshare RP2040-Zero is a very small board with an USB C connector and a WS2812 NeoPixel LED. Signed-off-by: Michal Suchanek <msuchanek@suse.de>
1 parent 9ea8d2a commit 71dc41b

File tree

4 files changed

+30
-0
lines changed

4 files changed

+30
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"deploy": [
3+
"../deploy.md"
4+
],
5+
"docs": "",
6+
"features": [
7+
"Dual-core",
8+
"External Flash",
9+
"RGB WS2812B LED",
10+
"Boot and Reset buttons",
11+
"USB-C"
12+
],
13+
"images": [
14+
"Waweshare-RP2040-Zero.jpg"
15+
],
16+
"mcu": "rp2040",
17+
"product": "RP2040-Zero",
18+
"thumbnail": "",
19+
"url": "",
20+
"vendor": "Waweshare"
21+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# cmake file for Waweshare RP2040-Zero
2+
set(PICO_PLATFORM "rp2040")
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// https://www.waveshare.com/wiki/RP2040-Zero
2+
3+
#define MICROPY_HW_BOARD_NAME "Waweshare RP2040-Zero"
4+
#define MICROPY_HW_FLASH_STORAGE_BYTES (1408 * 1024)
5+
6+
// NeoPixel data GPIO16, power not toggleable
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
WS2812B,GPIO16

0 commit comments

Comments
 (0)
0