mirror of
https://github.com/micropython/micropython.git
synced 2026-04-20 07:50:18 +02:00
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:
20
ports/rp2/boards/WAVESHARE_RP2040_ZERO/board.json
Normal file
20
ports/rp2/boards/WAVESHARE_RP2040_ZERO/board.json
Normal 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"
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
# cmake file for Waveshare RP2040-Zero
|
||||
set(PICO_BOARD "waveshare_rp2040_zero")
|
||||
8
ports/rp2/boards/WAVESHARE_RP2040_ZERO/mpconfigboard.h
Normal file
8
ports/rp2/boards/WAVESHARE_RP2040_ZERO/mpconfigboard.h
Normal 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)
|
||||
1
ports/rp2/boards/WAVESHARE_RP2040_ZERO/pins.csv
Normal file
1
ports/rp2/boards/WAVESHARE_RP2040_ZERO/pins.csv
Normal file
@@ -0,0 +1 @@
|
||||
NEOPIXEL,GPIO16
|
||||
|
Reference in New Issue
Block a user