Skip to content

Commit 66ce560

Browse files
committed
Extending bin2ota script for generating OTA file for PORTENTA_H7_M7.
1 parent d395a2b commit 66ce560

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

extras/tools/bin2ota.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
magic_number = 0x23418054.to_bytes(4,byteorder='little')
2323
elif board == "NANO_33_IOT":
2424
magic_number = 0x23418057.to_bytes(4,byteorder='little')
25+
elif board == "PORTENTA_H7_M7":
26+
magic_number = 0x2341025B.to_bytes(4,byteorder='little')
2527
else:
2628
print ("Error,", board, "is not a supported board type")
2729
sys.exit()

0 commit comments

Comments
 (0)