Skip to content

Commit 1f2cf46

Browse files
committed
Add SHA2017 target and partition table, format partition tables
1 parent 7510419 commit 1f2cf46

5 files changed

Lines changed: 40 additions & 27 deletions

File tree

Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ prepare-campzone2019: prepare
2323
cp configs/campzone2019_defconfig sdkconfig
2424
cp partition_tables/campzone2019.csv partitions.csv
2525

26+
prepare-sha2017: prepare
27+
cp configs/sha2017_defconfig sdkconfig
28+
cp partition_tables/sha2017.csv partitions.csv
29+
2630
clean:
2731
rm -rf "$(BUILDDIR)"
2832
source "$(IDF_PATH)/export.sh" && idf.py clean
@@ -46,5 +50,7 @@ install: flash
4650

4751
mch2022: prepare-mch2022 build
4852

53+
sha2017: prepare-sha2017 build
54+
4955
clean-frozen:
50-
rm -rf build/frozen_content.c
56+
rm -rf build/frozen_content.c

partition_tables/campzone2019.csv

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
# Name, Type, SubType, Offset, Size, Flags
2-
# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
3-
4-
nvs, data, nvs, 0x9000, 0x4000
5-
otadata, data, ota, 0xd000, 0x2000
6-
phy_init, data, phy, 0xf000, 0x1000
7-
ota_0, 0, ota_0, 0x10000, 1856K
8-
ota_1, 0, ota_1, , 1856K
9-
locfd, data, fat, , 4300K
1+
# ESP-IDF Partition Table for the CampZone 2019 badge
2+
# Name, Type, SubType, Offset, Size, Flags
3+
nvs, data, nvs, 0x9000, 0x4000
4+
otadata, data, ota, 0xd000, 0x2000
5+
phy_init, data, phy, 0xf000, 0x1000
6+
ota_0, 0, ota_0, 0x10000, 1856K
7+
ota_1, 0, ota_1, , 1856K
8+
locfd, data, fat, , 4300K

partition_tables/default.csv

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
# Name, Type, SubType, Offset, Size, Flags
2-
# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
3-
4-
nvs, data, nvs, 0x9000, 0x4000
5-
otadata, data, ota, 0xd000, 0x2000
6-
phy_init, data, phy, 0xf000, 0x1000
7-
ota_0, 0, ota_0, 0x10000, 1700K
8-
ota_1, 0, ota_1, , 1700K
9-
locfd, data, fat, , 532K
1+
# ESP-IDF Partition Table for development boards
2+
# Name, Type, SubType, Offset, Size, Flags
3+
nvs, data, nvs, 0x9000, 0x4000
4+
otadata, data, ota, 0xd000, 0x2000
5+
phy_init, data, phy, 0xf000, 0x1000
6+
ota_0, 0, ota_0, 0x10000, 1700K
7+
ota_1, 0, ota_1, , 1700K
8+
locfd, data, fat, , 532K

partition_tables/mch2022.csv

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
# ESP-IDF Partition Table
2-
# Name, Type, SubType, Offset, Size, Flags
3-
nvs, data, nvs, 0x9000, 16K,
4-
otadata, data, ota, 0xD000, 8K,
5-
phy_init, data, phy, 0xF000, 4K,
6-
ota_0, 0, ota_0, 0x10000, 3200K,
7-
appfs, 0x43, 3, 0x330000, 8000K,
8-
locfd, data, fat, 0xB00000, 5120K,
1+
# ESP-IDF Partition Table for the MCH2022 badge
2+
# Name, Type, SubType, Offset, Size, Flags
3+
nvs, data, nvs, 0x9000, 16K,
4+
otadata, data, ota, 0xD000, 8K,
5+
phy_init, data, phy, 0xF000, 4K,
6+
ota_0, 0, ota_0, 0x10000, 1600K,
7+
ota_1, 0, ota_1, 0x1A0000, 1600K,
8+
appfs, 0x43, 3, 0x330000, 8000K,
9+
locfd, data, fat, 0xB00000, 5120K,

partition_tables/sha2017.csv

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# ESP-IDF Partition Table for the SHA2017 badge
2+
# Name, Type, SubType, Offset, Size, Flags
3+
nvs, data, nvs, 0x9000, 0x4000
4+
otadata, data, ota, 0xd000, 0x2000
5+
phy_init, data, phy, 0xf000, 0x1000
6+
ota_0, 0, ota_0, 0x10000, 1536K
7+
ota_1, 0, ota_1, , 1536K
8+
locfd, data, fat, , 13248K

0 commit comments

Comments
 (0)