Skip to content

Add Waveshare RP2350-PiZero board - #1

Closed
davecheney wants to merge 1 commit into
devfrom
davecheney-rp2350-pizero-board
Closed

davecheney wants to merge 1 commit into
devfrom
davecheney-rp2350-pizero-board

Conversation

@davecheney

Copy link
Copy Markdown
Owner

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. LED is set to NoPin because the Pico SDK board header does not define PICO_DEFAULT_LED_PIN, and the Arduino-Pico variant does not define PIN_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/empty
  • 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-blinky1.uf2 examples/blinky1

@davecheney

Copy link
Copy Markdown
Owner Author

Closed in favor of the upstream pull request: tinygo-org#5670

@davecheney davecheney closed this Sep 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant