Skip to content

Commit eb29c1b

Browse files
committed
Add ESP32 support to bin2ota.py
1 parent 5b2f356 commit eb29c1b

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
@@ -26,6 +26,8 @@
2626
magic_number = 0x2341025B.to_bytes(4,byteorder='little')
2727
elif board == "NANO_RP2040_CONNECT":
2828
magic_number = 0x2341005E.to_bytes(4,byteorder='little')
29+
elif board == "ESP32":
30+
magic_number = 0x00000000.to_bytes(4,byteorder='little')
2931
else:
3032
print ("Error,", board, "is not a supported board type")
3133
sys.exit()

0 commit comments

Comments
 (0)