rp2/boards/WAVESHARE_RP2040_PLUS: Add Waveshare RP2040 Plus 4M and 16M.

Includes 4MB and 16MB variants.

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 1968b964f3
commit 8cbd320809
5 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{
"deploy": [
"../deploy.md"
],
"docs": "",
"features": [
"Dual-core",
"Battery Charging",
"External Flash",
"USB-C"
],
"images": [
"rp2040-plus-1.jpg"
],
"mcu": "rp2040",
"product": "RP2040-Plus",
"thumbnail": "",
"url": "https://www.waveshare.com/rp2040-plus.htm",
"variants": {
"FLASH_16M": "16 MiB Flash"
},
"vendor": "Waveshare"
}

View File

@ -0,0 +1 @@
# cmake file for Waveshare RP2040-Plus

View File

@ -0,0 +1,7 @@
// url : https://www.waveshare.com/product/rp2040-plus.htm
// wiki : https://www.waveshare.com/wiki/RP2040-Plus
#define MICROPY_HW_FLASH_STORAGE_BYTES (PICO_FLASH_SIZE_BYTES - (1 * 1024 * 1024))
#define MICROPY_HW_USB_VID (0x2E8A)
#define MICROPY_HW_USB_PID (0x1020)

View File

@ -0,0 +1,5 @@
set(PICO_BOARD "waveshare_rp2040_plus_4mb")
list(APPEND MICROPY_DEF_BOARD
MICROPY_HW_BOARD_NAME="Waveshare RP2040-Plus 4MB"
)

View File

@ -0,0 +1,5 @@
set(PICO_BOARD "waveshare_rp2040_plus_16mb")
list(APPEND MICROPY_DEF_BOARD
MICROPY_HW_BOARD_NAME="Waveshare RP2040-Plus 16MB"
)