Treat 3V3_/1V8_ nets as power and ignore SPI pins aliased as SDA/SCL.

Hub Audio pull-ups sit on 3V3_DIGITAL typed as signal, and ADAU/TAC5212 SPI pins list SDA in the name — both produced false I2C/reset warnings.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-28 17:09:59 +02:00
co-authored by Cursor
parent b1ee445da8
commit 7a255a9807
3 changed files with 75 additions and 2 deletions
+5
View File
@@ -154,6 +154,11 @@ def _infer_net_properties(name: str) -> tuple[NetType, float | None]:
voltage = _parse_rail_voltage(name)
return NetType.POWER, voltage
# KiCad-style rails: 3V3_DIGITAL, 1V8_SI4684, 5V_USB (not I2C1-SCL-3V3).
if re.match(r"^\d+V\d*", upper):
voltage = _parse_rail_voltage(name)
return NetType.POWER, voltage
# Everything else is a signal
return NetType.SIGNAL, None