File tree 1 file changed +3
-1
lines changed
1 file changed +3
-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 | PORTENTA_H7_M7 | NANO_RP2040_CONNECT | NICLA_VISION | OPTA | GIGA ]" )
8
+ print (" BOARD = [ MKR_WIFI_1010 | NANO_33_IOT | PORTENTA_H7_M7 | NANO_RP2040_CONNECT | NICLA_VISION | OPTA | GIGA | NANO_ESP32 ]" )
9
9
sys .exit ()
10
10
11
11
board = sys .argv [1 ]
32
32
magic_number = 0x23410064 .to_bytes (4 ,byteorder = 'little' )
33
33
elif board == "GIGA" :
34
34
magic_number = 0x23410266 .to_bytes (4 ,byteorder = 'little' )
35
+ elif board == "NANO_ESP32" :
36
+ magic_number = 0x23410070 .to_bytes (4 ,byteorder = 'little' )
35
37
# Magic number for all ESP32 boards not related to (VID/PID)
36
38
elif board == "ESP32" :
37
39
magic_number = 0x45535033 .to_bytes (4 ,byteorder = 'little' )
You can’t perform that action at this time.
0 commit comments