mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
refactor: rename uses_3v3 to uses_vapwr
The flag enables a second power supply (VAPWR), not necessarily 3.3V (gf180's core is already 3v3), so "uses_3v3" no longer accurately describes its purpose. Rename it across project_info, precheck, project and shuttle, and update the validation message accordingly. The legacy "uses_3v3" key is still accepted when reading info.yaml, so existing project configs keep working.
This commit is contained in:
+2
-2
@@ -203,7 +203,7 @@ class Project:
|
||||
[("input", "inout"), "VGND", 1],
|
||||
[("input", "inout"), "VDPWR", 1],
|
||||
]
|
||||
if self.info.uses_3v3:
|
||||
if self.info.uses_vapwr:
|
||||
required_ports += [
|
||||
[("input", "inout"), "VAPWR", 1],
|
||||
]
|
||||
@@ -653,7 +653,7 @@ class Project:
|
||||
for i, desc in enumerate(self.info.pinout.ua)
|
||||
],
|
||||
"is_analog": self.info.is_analog,
|
||||
"uses_3v3": self.info.uses_3v3,
|
||||
"uses_vapwr": self.info.uses_vapwr,
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user