Skip to content

Commit 0a378b6

Browse files
committed
Adapt combine script to new partition table
1 parent 84c63d3 commit 0a378b6

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

combine.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@
99
spiffsData = open("spiffs/spiffs.bin", "rb").read()
1010
certsData = open("UNOR4USBBridge/build/esp32-patched.esp32.arduino_unor4wifi_usb_bridge/x509_crt_bundle", "rb").read()
1111

12-
# 0x000000 bootloader
13-
# 0x008000 partitions
14-
# 0x009000 boot_app/otadata
15-
# 0x00B000 certs
16-
# 0x050000 app0
17-
# 0x1E0000 app1
18-
# 0x370000 spiffs
19-
# 0x3F0000 nvs
20-
# 0x3F5000 coredump
12+
# Offset Size Name
13+
# 0x000000 0x008000 bootloader
14+
# 0x008000 0x001000 partitions
15+
# 0x009000 0x002000 boot_app/otadata
16+
# 0x00B000 0x045000 certs
17+
# 0x050000 0x190000 app0
18+
# 0x1E0000 0x190000 app1
19+
# 0x370000 0x080000 spiffs
20+
# 0x3F0000 0x010000 nvs
2121

2222
# calculate the output binary size included nvs
23-
outputSize = 0x3F5000
23+
outputSize = 0x400000
2424

2525
# allocate and init to 0xff
2626
outputData = bytearray(b'\xff') * outputSize

0 commit comments

Comments
 (0)