8000 ports/rp2/boards: Add Waveshare RP2040-Zero by hramrach · Pull Request #16106 · micropython/micropython · GitHub
[go: up one dir, main page]

Skip to content

ports/rp2/boards: Add Waveshare RP2040-Zero #16106

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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_ZERO/board.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"deploy": [
"../deploy.md"
],
"docs": "",
"features": [
"Dual-core",
"External Flash",
"RGB WS2812B LED",
"USB-C"
],
"images": [
"Waveshare-RP2040-Zero.jpg"
],
"mcu": "rp2040",
"product": "RP2040-Zero",
"thumbnail": "",
"url": "",
"vendor": "Waveshare"
}
2 changes: 2 additions & 0 deletions ports/rp2/boards/WAVESHARE_RP2040_ZERO/mpconfigboard.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# cmake file for Waveshare RP2040-Zero
set(PICO_PLATFORM "rp2040")
6 changes: 6 additions & 0 deletions ports/rp2/boards/WAVESHARE_RP2040_ZERO/mpconfigboard.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// https://www.waveshare.com/wiki/RP2040-Zero

#define MICROPY_HW_BOARD_NAME "Waveshare RP2040-Zero"
#define MICROPY_HW_FLASH_STORAGE_BYTES (1408 * 1024)

// NeoPixel data GPIO16, power not toggleable
1 change: 1 addition & 0 deletions ports/rp2/boards/WAVESHARE_RP2040_ZERO/pins.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
WS2812B,GPIO16
1 change: 1 addition & 0 deletions tools/autobuild/build-downloads.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"Microphone",
"PoE",
"RGB LED",
"RGB WS2812B LED",
"Secure Element",
}

Expand Down
Loading
0