Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERC could show line defining part #185

Open
2e0byo opened this issue May 14, 2023 · 0 comments
Open

ERC could show line defining part #185

2e0byo opened this issue May 14, 2023 · 0 comments

Comments

@2e0byo
Copy link
Contributor

2e0byo commented May 14, 2023

I have an ERC warning output, part of which shows:

ERC WARNING: Unconnected pin: PASSIVE pin 2/~ of R/R2.
ERC WARNING: Unconnected pin: PASSIVE pin 2/~ of R/R5.
ERC WARNING: Unconnected pin: PASSIVE pin 2/~ of R/R8.
ERC WARNING: Unconnected pin: PASSIVE pin 2/~ of R/R11.
ERC WARNING: Unconnected pin: PASSIVE pin 2/~ of R/R14.
ERC WARNING: Unconnected pin: PASSIVE pin 2/~ of R/R17.
ERC WARNING: Unconnected pin: PASSIVE pin 2/~ of R/R20.
ERC WARNING: Unconnected pin: PASSIVE pin 2/~ of R/R23.
ERC WARNING: Unconnected pin: PASSIVE pin 2/~ of R/R26.
ERC WARNING: Unconnected pin: PASSIVE pin 2/~ of R/R29.
ERC WARNING: Unconnected pin: PASSIVE pin 2/~ of R/R32.
ERC WARNING: Unconnected pin: PASSIVE pin 2/~ of R/R35.
ERC WARNING: Unconnected pin: PASSIVE pin 2/~ of R/R38.
ERC WARNING: Unconnected pin: PASSIVE pin 2/~ of R/R41.
ERC WARNING: Unconnected pin: PASSIVE pin 2/~ of R/R44.
ERC WARNING: Unconnected pin: PASSIVE pin 2/~ of R/R47.

Clearly I forgot to connect one end of a resistor. Unfortunately I have no idea which, as I haven't tagged or named my resistors. It would be neat if the ERC warning told me where the part was defined. I think something like this could be done by hooking into the logic which adds the part to a circuit, probably using something like inspect.findsource (which is slow.... but so is SKIDL :D).

If this bothers me enough and I get the time I'll have a go at implementing it, but I'd be interested to know what others do about it.

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

No branches or pull requests

1 participant