mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
fix: analog designs always get 6 pins connected
instead, we should read the `analog_pins` setting from the project's info.yaml
This commit is contained in:
+1
-1
@@ -76,7 +76,7 @@ class ShuttleConfig:
|
||||
"name": project.unprefixed_name,
|
||||
"width": width,
|
||||
"height": height,
|
||||
"analog": {i: None for i in range(len(project.info.pinout.ua))},
|
||||
"analog": {i: None for i in range(project.info.analog_pins)},
|
||||
}
|
||||
module_config["modules"].append(module_entry)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user