Skip to content

Conversation

@Lulzx
Copy link

@Lulzx Lulzx commented Dec 4, 2025

Summary

Implements the <connector standard="usb_c" /> flow as described in issue #748.

This feature allows users to create USB-C connectors with automatic standard pin mapping:

<connector standard="usb_c" name="USB1" />
<trace from=".USB1 > .DP" to=".MCU > .USB_DP" />
<trace from=".USB1 > .DM" to=".MCU > .USB_DM" />

Implementation

This feature is implemented across multiple repositories:

Repository PR Description
tscircuit/core tscircuit/core#1715 Add Connector component with USB-C standard support
tscircuit/parts-engine tscircuit/parts-engine#17 Add USB-C connector support and findStandardPart API
tscircuit/props tscircuit/props#525 Add StandardPartResult type and findStandardPart to PartsEngine
tscircuit/circuit-json tscircuit/circuit-json#366 Add source_simple_connector type

No code changes are needed in this repository as it re-exports from @tscircuit/core. Once the dependent packages are published, the Connector component will be available automatically.

Features

  • USB-C standard pin mapping (DP, DM, CC1, CC2, VBUS, GND, SBU, TX/RX)
  • Automatic port creation with standard names
  • Parts engine integration for JLCPCB USB-C connectors
  • findStandardPart() API for footprint and pin mapping

Test plan

  • Unit tests pass in tscircuit/core
  • Build passes in all repositories
  • Formatting checks pass

/claim #748

This feature is implemented across multiple repositories:

- tscircuit/core#1715 - Add Connector component with USB-C standard support
- tscircuit/parts-engine#17 - Add USB-C connector support and findStandardPart API
- tscircuit/props#525 - Add StandardPartResult type and findStandardPart to PartsEngine
- tscircuit/circuit-json#366 - Add source_simple_connector type

No changes needed in this repository as it re-exports from @tscircuit/core.
Once the dependent packages are published, the Connector component will be
available automatically.

Usage:
```tsx
<connector standard="usb_c" name="USB1" />
<trace from=".USB1 > .DP" to=".MCU > .USB_DP" />
```

Closes tscircuit#748
@RaghavArora14
Copy link

hey sorry to inform you but bounties have been paused for the time being.

@Lulzx
Copy link
Author

Lulzx commented Dec 4, 2025

hey sorry to inform you but bounties have been paused for the time being.

Thanks for letting me know @RaghavArora14! No worries about the bounty pause. I'm primarily interested in contributing to the project and building my open source portfolio.

The implementation is complete across all repos (core, parts-engine, props, circuit-json) with tests passing.

Would love to get these reviewed and merged when maintainers have bandwidth. Happy to address any feedback!

@RaghavArora14
Copy link

In that case you'd have to ask @Abse2001 , I think he was assigned this issue, and if you want to look for more issues feel free to join discord and see the new contributors channel, you'll find a very detailed guide there to start contributing. Feel free to reach out in case you need any help

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.

2 participants