We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7eb3a2 commit 9540706Copy full SHA for 9540706
extras/tools/bin2ota.py
@@ -5,7 +5,7 @@
5
6
if len(sys.argv) != 4:
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 | NANO_ESP32 ]")
+ print (" BOARD = [ MKR_WIFI_1010 | NANO_33_IOT | PORTENTA_H7_M7 | NANO_RP2040_CONNECT | NICLA_VISION | OPTA | GIGA | NANO_ESP32 | ESP32 | UNOR4WIFI]")
9
sys.exit()
10
11
board = sys.argv[1]
@@ -37,6 +37,8 @@
37
# Magic number for all ESP32 boards not related to (VID/PID)
38
elif board == "ESP32":
39
magic_number = 0x45535033.to_bytes(4,byteorder='little')
40
+elif board == "UNOR4WIFI":
41
+ magic_number = 0x23411002.to_bytes(4,byteorder='little')
42
else:
43
print ("Error,", board, "is not a supported board type")
44
0 commit comments