File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 55
66if len (sys .argv ) != 4 :
77 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 | NANO_ESP32 ]" )
8+ print (" BOARD = [ MKR_WIFI_1010 | NANO_33_IOT | PORTENTA_H7_M7 | NANO_RP2040_CONNECT | NICLA_VISION | OPTA | GIGA | NANO_ESP32 | ESP32 | UNOR4WIFI ]" )
99 sys .exit ()
1010
1111board = sys .argv [1 ]
3737# Magic number for all ESP32 boards not related to (VID/PID)
3838elif board == "ESP32" :
3939 magic_number = 0x45535033 .to_bytes (4 ,byteorder = 'little' )
40+ elif board == "UNOR4WIFI" :
41+ magic_number = 0x23411002 .to_bytes (4 ,byteorder = 'little' )
4042else :
4143 print ("Error," , board , "is not a supported board type" )
4244 sys .exit ()
You can’t perform that action at this time.
0 commit comments