Skip to content

ports/rp2/WAVESHARE_RP2350_PIZERO: add board definition#19211

Open
duskwuff wants to merge 1 commit into
micropython:masterfrom
duskwuff:master
Open

ports/rp2/WAVESHARE_RP2350_PIZERO: add board definition#19211
duskwuff wants to merge 1 commit into
micropython:masterfrom
duskwuff:master

Conversation

@duskwuff
Copy link
Copy Markdown

Summary

Adds a port for the Waveshare RP2350-PiZero board.

Testing

I've tested this board definition on boards with and without PSRAM mounted and verified that it works correctly in both cases. Internal flash is exposed over MSC, and the SD card can be mounted and viewed using:

import os, sdcard
from machine import Pin, SPI
sd_spi = SPI(1, sck=Pin("SD_CLK", Pin.OUT), miso=Pin("SD_MISO", Pin.OUT), mosi=Pin("SD_MOSI", Pin.IN, pull=Pin.PULL_UP))
os.mount(sdcard.SDCard(spi=sd_spi, cs=Pin("SD_CS", Pin.OUT)), "/sd")

Trade-offs and Alternatives

None?

The MICROPY_HW_USB_MSC configuration might be worth enabling by default for all RP2350 ports.

Generative AI

No AI tools were used in preparing this pull request.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 11, 2026

Code size report:

Reference:  py/emitinlinerv32: Fix UBsan diagnostics for left-shift of mp_int_t. [8ecd995]
Comparison: rp2/boards/WAVESHARE_RP2350_PIZERO: Add board definition. [merge of 8876c7f]
  mpy-cross:    +0 +0.000% 
   bare-arm:    +0 +0.000% 
minimal x86:    +0 +0.000% 
   unix x64:    +0 +0.000% standard
      stm32:    +0 +0.000% PYBV10
      esp32:    +0 +0.000% ESP32_GENERIC
     mimxrt:    +0 +0.000% TEENSY40
        rp2:    +0 +0.000% RPI_PICO_W
       samd:    +0 +0.000% ADAFRUIT_ITSYBITSY_M4_EXPRESS
  qemu rv32:    +0 +0.000% VIRT_RV32

Signed-off-by: dusk <dusk@woofle.net>
@agatti agatti added port-rp2 board-definition New or updated board definition files. Combine with a port- label. labels May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

board-definition New or updated board definition files. Combine with a port- label. port-rp2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants