Skip to content

rp2/boards/WAVESHARE_RP2040_PLUS: Add Waveshare RP2040-Plus board. #9321

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions ports/rp2/boards/WAVESHARE_RP2040_PLUS/board.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"deploy": [
"../deploy.md"
],
"docs": "",
"features": [
"Battery Charging",
"Breadboard friendly",
"Castellated Pads",
"USB-C"
],
"images": [
"waveshare-rp2040-plus.jpg"
],
"mcu": "rp2040",
"product": "RP2040-Plus",
"thumbnail": "",
"url": "https://www.waveshare.com/rp2040-plus.htm",
"vendor": "Waveshare"
}
2 changes: 2 additions & 0 deletions ports/rp2/boards/WAVESHARE_RP2040_PLUS/mpconfigboard.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# cmake file for Waveshare RP2040-Plus
set(PICO_BOARD waveshare_rp2040_plus_4mb)
7 changes: 7 additions & 0 deletions ports/rp2/boards/WAVESHARE_RP2040_PLUS/mpconfigboard.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// Board and hardware specific configuration
#define MICROPY_HW_BOARD_NAME "Waveshare RP2040-Plus"
#define MICROPY_HW_FLASH_STORAGE_BYTES (3 * 1024 * 1024)

// Taken from https://github.com/raspberrypi/usb-pid
#define MICROPY_HW_USB_VID (0x2E8A)
#define MICROPY_HW_USB_PID (0x1020)