esp32: Add custom partitions.csv file with uPy specific size.

pull/3483/merge
Eric Poulsen 2017-12-09 23:45:50 -08:00 zatwierdzone przez Damien George
rodzic 0593d6f562
commit 19c7098e18
2 zmienionych plików z 6 dodań i 1 usunięć

Wyświetl plik

@ -721,7 +721,7 @@ $(BUILD)/bootloader.elf: $(BOOTLOADER_OBJ)
# Declarations to build the partitions
PYTHON2 ?= python2
PART_SRC = $(ESPCOMP)/partition_table/partitions_singleapp.csv
PART_SRC = partitions.csv
$(BUILD)/partitions.bin: $(PART_SRC)
$(ECHO) "Create $@"

Wyświetl plik

@ -0,0 +1,5 @@
# Name, Type, SubType, Offset, Size, Flags
# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
nvs, data, nvs, 0x9000, 0x6000,
phy_init, data, phy, 0xf000, 0x1000,
factory, app, factory, 0x10000, 0x180000,
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,