Skip to content

Commit c797ea1

Browse files
committed
bin2ota Add missing boards
1 parent 5776c7f commit c797ea1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

extras/tools/bin2ota.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626
magic_number = 0x2341025B.to_bytes(4,byteorder='little')
2727
elif board == "NANO_RP2040_CONNECT":
2828
magic_number = 0x2341005E.to_bytes(4,byteorder='little')
29+
elif board == "NICLA_VISION"
30+
magic_number = 0x2341025F.to_bytes(4,byteorder='little')
31+
elif board == "OPTA":
32+
magic_number = 0x23410064.to_bytes(4,byteorder='little')
2933
else:
3034
print ("Error,", board, "is not a supported board type")
3135
sys.exit()

0 commit comments

Comments
 (0)