feat: hold the WiFi module in reset until enabled by the firmware (FPGA v8)
This commit is contained in:
parent
eaf8cd284a
commit
853addaa22
6 changed files with 24 additions and 9 deletions
|
|
@ -82,8 +82,8 @@ class Board:
|
|||
while self.serial.readline():
|
||||
pass
|
||||
self.serial.timeout = 200
|
||||
if not identity.startswith("STRX v7"):
|
||||
sys.exit(f"unexpected board identity: {identity!r} (needs the v7 FPGA image)")
|
||||
if not identity.startswith("STRX v8"):
|
||||
sys.exit(f"unexpected board identity: {identity!r} (needs the v8 FPGA image)")
|
||||
self.generators = self.read(REG_GENERATORS)
|
||||
self.rings = self.read(REG_RINGS)
|
||||
print(f"board: {identity}, {self.generators} generators x {self.rings} rings")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue