File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 5
5
6
6
if len (sys .argv ) != 4 :
7
7
print ("Usage: bin2ota.py BOARD sketch.bin sketch.ota" )
8
- print (" BOARD = [MKR_WIFI_1010 | NANO_33_IOT]" )
8
+ print (" BOARD = [MKR_WIFI_1010 | NANO_33_IOT | PORTENTA_H7_M7 | NANO_RP2040_CONNECT | NICLA_VISION | OPTA ]" )
9
9
sys .exit ()
10
10
11
11
board = sys .argv [1 ]
26
26
magic_number = 0x2341025B .to_bytes (4 ,byteorder = 'little' )
27
27
elif board == "NANO_RP2040_CONNECT" :
28
28
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' )
29
33
else :
30
34
print ("Error," , board , "is not a supported board type" )
31
35
sys .exit ()
You can’t perform that action at this time.
0 commit comments