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:
Pat Deegan
2026-02-12 06:27:29 +01:00
committed by GitHub
parent b4a9e6c7ea
commit 89ad9bfa93
10 changed files with 705 additions and 103 deletions
+10 -7
View File
@@ -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):