Skip to content

feat: Finish the RP2040-Zero board - #9

Open
janisag07 wants to merge 3 commits into
tscircuit:mainfrom
janisag07:feat/finish-rp2040-zero-board
Open

feat: Finish the RP2040-Zero board#9
janisag07 wants to merge 3 commits into
tscircuit:mainfrom
janisag07:feat/finish-rp2040-zero-board

Conversation

@janisag07

Copy link
Copy Markdown

Summary

  • Replaced custom <board> + <PinOutCircuit /> with <XiaoBoard variant="RP2040"> from @tscircuit/common as the top-level board wrapper
  • Wired all 30 GPIO pins (GPIO0–GPIO29) on the RP2040 chip to their respective nets
  • Added missing RP2040 connections: XIN, XOUT, TESTEN (tied to GND), VREG_VOUT, SWCLK, SWD, RUN
  • Connected all QSPI pins (SS_N, SD0–SD3, SCLK) for proper flash memory integration
  • Fixed net.V3V3net.V3_3 inconsistency in LedCircuit
  • Added KeyCircuit (boot/reset buttons) to the main board
  • Added key prop for mapped capacitor list to fix React warnings
  • Deleted unused PinOutCircuit.tsx (replaced by XiaoBoard)
  • Generated PCB and schematic snapshots

Fixes #2

Test plan

  • bun install succeeds
  • bun run format:check passes
  • bun run snapshot:update generates snapshots without errors
  • Visual review of PCB/schematic SVG snapshots

- Replace custom PinOutCircuit with XiaoBoard variant='RP2040' from @tscircuit/common
- Wire all GPIO pins (0-29) on the RP2040 chip
- Add missing connections: XIN, XOUT, TESTEN, VREG_VOUT, SWCLK, SWD, RUN
- Connect all QSPI pins (SS_N, SD0-SD3, SCLK) for flash memory
- Fix net.V3V3 -> net.V3_3 typo in LedCircuit
- Include KeyCircuit (boot/reset buttons) in the board
- Add key prop for mapped capacitor list to fix React warnings
- Add @tscircuit/common dependency
- Delete unused PinOutCircuit.tsx
- Generate PCB and schematic snapshots

Fixes tscircuit#2
@tscircuit
tscircuit Bot requested a deployment to Preview February 17, 2026 13:23 Abandoned
- Update tscircuit from 0.0.614 to 0.0.1334 (includes kicadts,
  circuit-json-to-gltf, and typescript as transitive deps)
- Add bun test with circuit JSON rendering verification
- Add test script to package.json
- Update snapshots for new tscircuit version
- Add .tscircuit/ and diff SVGs to .gitignore
@tscircuit
tscircuit Bot requested a deployment to Preview February 17, 2026 14:45 Abandoned
…routingDisabled

- Add footprint='0402' to C3, R8, C17, C16, R2
- Connect SW1/SW2 pins C and D to fix missing trace warnings
- Use plain <board routingDisabled> instead of XiaoBoard (XiaoBoard doesn't pass routingDisabled to board, causing autorouter failures)
@tscircuit
tscircuit Bot requested a deployment to Preview February 17, 2026 14:56 Abandoned
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.

Finish the RP2040-zero board

1 participant