8000 ports/rp2: Add Waveshare RP2040 Plus 4MB and 16MB boards. · micropython/micropython@1660981 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1660981

Browse files
committed
ports/rp2: Add Waveshare RP2040 Plus 4MB and 16MB boards.
According to The Waveshare website, the RP2040 Plus is a software compatible board to the Raspberry Pi Pico that uses either a 4MB or 16MB flash chip, a USB-C connector and adds some battery recharge circuitry/connector. Since this board is supported in the pico-sdk folders, all that was needed was folders named WAVESHARE_RP2040_PLUS_4MB/_16MB in the ports/rp2/boards folder populated with updated board.json, mpconfigboard.cmake and mpconfigboard.h files. Signed-off-by: David Hunter <github@retiredwizard.com>
1 parent 699477d commit 1660981

File tree

8 files changed

+68
-0
lines changed

8 files changed

+68
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# WeAct Studio RP2040
2+
3+
The Waveshare RP2040-Plus Board is based on the Raspberry Pi RP2040 and can be
4+
purchased with 4/16 MiB of flash.
5+
6+
These boards are available from a number of resellers
7+
Waveshare maintain the [Wiki:RP2040-Plus](https://www.waveshare.com/wiki/RP2040-Plus)
8+
Wiki containing information on the board.
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+
"Breadboard Friendly",
8+
"Castellated Pads",
9+
"SPI Flash",
10+
"USB-C"
11+
],
12+
"id": "rp2-waveshare_rp2040_plus_16mb",
13+
"images": [
14+
"rp2040-plus-1_5.jpg"
15+
],
16+
"mcu": "rp2040",
17+
"product": "RP2040-Plus-16mb",
18+
"thumbnail": "",
19+
"url": "https://www.waveshare.com/rp2040-plus.htm",
20+
"vendor": "Waveshare"
21+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# CMake file for Waveshare RP2040-Plus boards
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#define MICROPY_HW_BOARD_NAME "Waveshare RP2040-Plus 4MB"
2+
3+
// Allow 1MB for the firmware image itself, allocate the remainder to the filesystem
4+
#define MICROPY_HW_FLASH_STORAGE_BYTES (PICO_FLASH_SIZE_BYTES - (640 * 1024))
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# WeAct Studio RP2040
2+
3+
The Waveshare RP2040-Plus Board is based on the Raspberry Pi RP2040 and can be
4+
purchased with 4/16 MiB of flash.
5+
6+
These boards are available from a number of resellers
7+
Waveshare maintain the [Wiki:RP2040-Plus](https://www.waveshare.com/wiki/RP2040-Plus)
8+
Wiki containing information on the board.
10AAC
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+
"Breadboard Friendly",
8+
"Castellated Pads",
9+
"SPI Flash",
10+
"USB-C"
11+
],
12+
"id": "rp2-waveshare_rp2040_plus_4mb",
13+
"images": [
14+
"rp2040-plus-1_5.jpg"
15+
],
16+
"mcu": "rp2040",
17+
"product": "RP2040-Plus-4mb",
18+
"thumbnail": "",
19+
"url": "https://www.waveshare.com/rp2040-plus.htm",
20+
"vendor": "Waveshare"
21+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# CMake file for Waveshare RP2040-Plus boards
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#define MICROPY_HW_BOARD_NAME "Waveshare RP2040-Plus 4MB"
2+
3+
// Allow 1MB for the firmware image itself, allocate the remainder to the filesystem
4+
#define MICROPY_HW_FLASH_STORAGE_BYTES (PICO_FLASH_SIZE_BYTES - (640 * 1024))

0 commit comments

Comments
 (0)
0