Add Waveshare RP2350-PiZero board - #5670
Merged
deadprogram merged 2 commits intoSep 12, 2026
Merged
Conversation
Member
|
@davecheney can you please also add to the smoke tests? Thank you! |
Contributor
Author
Mia culpa, I’ll fix |
davecheney
force-pushed
the
davecheney-rp2350-pizero-board
branch
from
September 11, 2026 23:47
fc2cd13 to
e282dad
Compare
Contributor
Author
|
@deadprogram PTAL |
deadprogram
approved these changes
Sep 12, 2026
deadprogram
left a comment
Member
There was a problem hiding this comment.
Thank you for the addition @davecheney now squash/merging.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Waveshare RP2350-PiZero is useful as a first-class TinyGo target for projects that use this RP2350B board. This adds a concrete target and machine pin map so users can build for it directly with
-target waveshare-rp2350-pizero.This target inherits from
rp2350b, sets the board build tag and 16 MB flash size, and adds RP2350B GPIO aliases plus the Pico SDK default UART1, I2C1, and SPI1 pins.LEDis set toNoPinbecause the Pico SDK board header does not definePICO_DEFAULT_LED_PIN, and the Arduino-Pico variant does not definePIN_LED.Validation:
LLVM_CONFIG=/opt/homebrew/opt/llvm@20/bin/llvm-config go test -tags=llvm20 ./compileopts -run 'TestLoadTarget|TestGetTargetSpecs'PATH=/opt/homebrew/opt/lld@20/bin:$PATH LLVM_CONFIG=/opt/homebrew/opt/llvm@20/bin/llvm-config go run -tags=llvm20 . build -target waveshare-rp2350-pizero -o /tmp/waveshare-rp2350-pizero-empty.uf2 examples/emptyPATH=/opt/homebrew/opt/lld@20/bin:$PATH LLVM_CONFIG=/opt/homebrew/opt/llvm@20/bin/llvm-config go run -tags=llvm20 . build -target waveshare-rp2350-pizero -o /tmp/waveshare-rp2350-pizero-blinky1.uf2 examples/blinky1