Skip to content

Commit 60f059b

Browse files
authored
Add OTA-1C0000 variant. (#6)
This variant sets the size of the OTA partitions to 0x1C0000 bytes.
1 parent df9487d commit 60f059b

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# ESP32-OTA-1C0000
2+
3+
A variant of the ESP32 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: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Copyright (C) 2021 Toitware ApS.
2+
#
3+
# This library is free software; you can redistribute it and/or
4+
# modify it under the terms of the GNU Lesser General Public
5+
# License as published by the Free Software Foundation; version
6+
# 2.1 only.
7+
#
8+
# This library is distributed in the hope that it will be useful,
9+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11+
# Lesser General Public License for more details.
12+
#
13+
# The license can be found in the file `LICENSE` in the top level
14+
# directory of this repository.
15+
16+
# Partition Table for Toit.
17+
18+
# Name, Type, SubType, Offset, Size
19+
# bootloader,, , 0x001000, 0x007000
20+
# partitions,, , 0x008000, 0x000c00
21+
secure, 0x42, 0x00, 0x009000, 0x004000,
22+
otadata, data, ota, 0x00d000, 0x002000,
23+
phy_init, data, phy, 0x00f000, 0x001000,
24+
ota_0, app, ota_0, 0x010000, 0x1c0000,
25+
ota_1, app, ota_1, 0x1d0000, 0x1c0000,
26+
nvs, data, nvs, 0x390000, 0x010000,
27+
programs, 0x40, 0x00, 0x3A0000, 0x060000, encrypted

0 commit comments

Comments
 (0)