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>
This commit is contained in:
EngWill
2023-10-26 13:49:39 +08:00
committed by Damien George
parent 8cbd320809
commit ad054fc520
4 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
{
"deploy": [
"../deploy.md"
],
"docs": "",
"features": [
"Dual-core",
"External Flash",
"RGB LED",
"USB-C"
],
"images": [
"rp2040-zero-1.jpg"
],
"mcu": "rp2040",
"product": "RP2040-Zero",
"thumbnail": "",
"url": "https://www.waveshare.com/product/rp2040-zero.htm",
"vendor": "Waveshare"
}

View File

@@ -0,0 +1,2 @@
# cmake file for Waveshare RP2040-Zero
set(PICO_BOARD "waveshare_rp2040_zero")

View File

@@ -0,0 +1,8 @@
// url: https://www.waveshare.com/product/rp2040-zero.htm
// wiki: http://www.waveshare.com/wiki/RP2040-Zero
#define MICROPY_HW_BOARD_NAME "Waveshare RP2040-Zero"
#define MICROPY_HW_FLASH_STORAGE_BYTES (1408 * 1024)
#define MICROPY_HW_USB_VID (0x2E8A)
#define MICROPY_HW_USB_PID (0x101F)

View File

@@ -0,0 +1 @@
NEOPIXEL,GPIO16
1 NEOPIXEL GPIO16