Skip to content

Commit 19c7098

Browse files
MrSurlydpgeorge
authored andcommitted
esp32: Add custom partitions.csv file with uPy specific size.
1 parent 0593d6f commit 19c7098

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

ports/esp32/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ $(BUILD)/bootloader.elf: $(BOOTLOADER_OBJ)
721721
# Declarations to build the partitions
722722

723723
PYTHON2 ?= python2
724-
PART_SRC = $(ESPCOMP)/partition_table/partitions_singleapp.csv
724+
PART_SRC = partitions.csv
725725

726726
$(BUILD)/partitions.bin: $(PART_SRC)
727727
$(ECHO) "Create $@"

ports/esp32/partitions.csv

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
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+
nvs, data, nvs, 0x9000, 0x6000,
4+
phy_init, data, phy, 0xf000, 0x1000,
5+
factory, app, factory, 0x10000, 0x180000,

0 commit comments

Comments
 (0)