mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
feat(fpga): add support for the new FabricFox devkit
* TT FPGA tool, prelim import * config.ini manager, prelim * bitstream uploads and FPGA config.ini management Contributed by @psychogenic, with minor edits by @htfab
This commit is contained in:
+10
-7
@@ -106,13 +106,16 @@ class ProjectInfo:
|
||||
else:
|
||||
self.description: str = description
|
||||
|
||||
tiles = project_section.get("tiles")
|
||||
if tiles is None:
|
||||
errors.append("Missing key 'tiles' in 'project' section")
|
||||
elif tiles not in tile_sizes.keys():
|
||||
errors.append(f"Invalid value for 'tiles' in 'project' section: {tiles}")
|
||||
else:
|
||||
self.tiles: str = tiles
|
||||
if tile_sizes:
|
||||
tiles = project_section.get("tiles")
|
||||
if tiles is None:
|
||||
errors.append("Missing key 'tiles' in 'project' section")
|
||||
elif tiles not in tile_sizes.keys():
|
||||
errors.append(
|
||||
f"Invalid value for 'tiles' in 'project' section: {tiles}"
|
||||
)
|
||||
else:
|
||||
self.tiles: str = tiles
|
||||
|
||||
analog_pins = project_section.get("analog_pins", 0)
|
||||
if not isinstance(analog_pins, int):
|
||||
|
||||
Reference in New Issue
Block a user