Skip to content

Conversation

naaa760
Copy link

@naaa760 naaa760 commented Oct 2, 2025

fixes: #764

/claim #764

PR Description:

  • This PR adds support for community board templates in tscircuit, allowing users to easily create boards with standard dimensions and pin layouts for popular board formats.

What's Added:

  • Community board templates for Arduino shields, Raspberry Pi HATs, and SparkFun MicroMod boards
  • Footprinter DSL definitions with accurate pin positions and board outlines
  • TypeScript support with proper type definitions
  • Comprehensive tests to verify template functionality

Available Templates:

  • community:arduinoshield (68.58mm × 53.34mm)
  • community:raspberrypihat (65mm × 56.5mm)
  • community:sparkfunmicromod_processor (22mm × 22mm)
  • community:sparkfunmicromod_host (75mm × 75mm)

Files Changed:

  • Added board-templates.ts with template definitions
  • Added board.tsx for exports
  • Updated index.ts to export new functionality
  • Added tests/board-template.test.tsx for testing
  • Updated README.md with usage documentation

Copy link

@nailoo nailoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this PR in wrong repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support "template" and footprinter board outlines

2 participants