Skip to content

Preserve slash-separated EasyEDA pin labels - #521

Closed
hrithik18k wants to merge 5 commits into
tscircuit:mainfrom
hrithik18k:fix/preserve-slash-pin-labels
Closed

Preserve slash-separated EasyEDA pin labels#521
hrithik18k wants to merge 5 commits into
tscircuit:mainfrom
hrithik18k:fix/preserve-slash-pin-labels

Conversation

@hrithik18k

Copy link
Copy Markdown
Contributor

Summary

  • Parse EasyEDA pin names using their alignment-delimited field instead of restricting the allowed characters.
  • Expand slash-separated multifunction labels into individual tscircuit pin aliases.
  • Support parenthesized aliases.
  • Normalize polarity suffixes using ASCII hyphen (-), en dash (), and Unicode minus ().
  • Add focused regression tests and update the affected schematic and PCB snapshots.

Reproduction

The EasyEDA source for C472489 defines pin 20 as:

#RST/NMI/SBWTDIO

On main, the restrictive pin-name regex rejects the / characters. The generated component therefore falls back to pin20 and loses its functional aliases.

After this change, pin 20 is generated as:

pin20: ["N_RST", "NMI", "SBWTDIO"]

@GokulPandi-M

Copy link
Copy Markdown
Contributor

@hrithik18k fixed in #510

@hrithik18k hrithik18k closed this Aug 26, 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.

2 participants