Skip to content

Commit 1b4413f

Browse files
committed
add a base hardware config without 'factory' partition to allow two large OTA partitions
1 parent e31ee0b commit 1b4413f

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"name": "OTA base config with single ROM",
3+
"arch": "Esp32",
4+
"comment": "ota base config to eliminate the factory partition and instead build two rom partitions.",
5+
"bootloader_size": "0x8000",
6+
"partition_table_offset": "0x8000",
7+
"devices": {
8+
"spiFlash": {
9+
"type": "flash",
10+
"size": "4M",
11+
"mode": "dio",
12+
"speed": "60 if SMING_SOC=='esp32c2' else 40"
13+
}
14+
},
15+
"partitions": {
16+
"phy_init": {
17+
"address": "0x00f000",
18+
"size": "0x1000",
19+
"type": "data",
20+
"subtype": "phy"
21+
},
22+
"nvs": {
23+
"address": "0x009000",
24+
"size": "0x6000",
25+
"type": "data",
26+
"subtype": "nvs"
27+
},
28+
"rom0": {
29+
"address": "0x010000",
30+
"size": "0x0f0000",
31+
"type": "app",
32+
"subtype": "ota_0",
33+
"filename": "$(TARGET_BIN)"
34+
},
35+
"otadata":{
36+
"address":"0x3fe000",
37+
"size":"8k",
38+
"type":"data",
39+
"subtype":"ota"
40+
}
41+
}
42+
}

0 commit comments

Comments
 (0)