Skip to content

Commit ee51f38

Browse files
authored
Add more variants for bigger OTA partition sizes. (#63)
For now only ESP32 and ESP32S3.
1 parent 9807f6c commit ee51f38

File tree

6 files changed

+72
-0
lines changed

6 files changed

+72
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# ESP32-OTA-1D0000
2+
3+
A variant of the ESP32 envelope that sets the size of the OTA
4+
partitions to 0x1D0000 (1900544) bytes.
5+
6+
As a consequence the size of the programs partition is set to
7+
0x40000 (262144) bytes.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Copyright (C) 2023 Toitware ApS.
2+
#
3+
# Use of this source code is governed by a BSD0-style license that can be
4+
# found in the LICENSE_BSD0 file.
5+
6+
# Partition Table for Toit.
7+
8+
# Name, Type, SubType, Offset, Size
9+
# bootloader,, , 0x001000, 0x007000
10+
# partitions,, , 0x008000, 0x000c00
11+
secure, 0x42, 0x00, 0x009000, 0x004000,
12+
otadata, data, ota, 0x00d000, 0x002000,
13+
phy_init, data, phy, 0x00f000, 0x001000,
14+
ota_0, app, ota_0, 0x010000, 0x1d0000,
15+
ota_1, app, ota_1, 0x1e0000, 0x1d0000,
16+
nvs, data, nvs, 0x3B0000, 0x010000,
17+
programs, 0x40, 0x00, 0x3C0000, 0x040000, encrypted
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# ESP32S3-OTA-1C0000
2+
3+
A variant of the ESP32S3 envelope that sets the size of the OTA
4+
partitions to 0x1C0000 (1835008) bytes.
5+
6+
As a consequence the size of the programs partition is set to
7+
0x60000 (393216) bytes.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Copyright (C) 2023 Toitware ApS.
2+
#
3+
# Use of this source code is governed by a BSD0-style license that can be
4+
# found in the LICENSE_BSD0 file.
5+
6+
# Partition Table for Toit.
7+
8+
# Name, Type, SubType, Offset, Size
9+
# bootloader,, , 0x001000, 0x007000
10+
# partitions,, , 0x008000, 0x000c00
11+
secure, 0x42, 0x00, 0x009000, 0x004000,
12+
otadata, data, ota, 0x00d000, 0x002000,
13+
phy_init, data, phy, 0x00f000, 0x001000,
14+
ota_0, app, ota_0, 0x010000, 0x1c0000,
15+
ota_1, app, ota_1, 0x1d0000, 0x1c0000,
16+
nvs, data, nvs, 0x390000, 0x010000,
17+
programs, 0x40, 0x00, 0x3A0000, 0x060000, encrypted
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# ESP32S3-OTA-1D0000
2+
3+
A variant of the ESP32S3 envelope that sets the size of the OTA
4+
partitions to 0x1D0000 (1900544) bytes.
5+
6+
As a consequence the size of the programs partition is set to
7+
0x40000 (262144) bytes.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Copyright (C) 2023 Toitware ApS.
2+
#
3+
# Use of this source code is governed by a BSD0-style license that can be
4+
# found in the LICENSE_BSD0 file.
5+
6+
# Partition Table for Toit.
7+
8+
# Name, Type, SubType, Offset, Size
9+
# bootloader,, , 0x001000, 0x007000
10+
# partitions,, , 0x008000, 0x000c00
11+
secure, 0x42, 0x00, 0x009000, 0x004000,
12+
otadata, data, ota, 0x00d000, 0x002000,
13+
phy_init, data, phy, 0x00f000, 0x001000,
14+
ota_0, app, ota_0, 0x010000, 0x1d0000,
15+
ota_1, app, ota_1, 0x1e0000, 0x1d0000,
16+
nvs, data, nvs, 0x3B0000, 0x010000,
17+
programs, 0x40, 0x00, 0x3C0000, 0x040000, encrypted

0 commit comments

Comments
 (0)