8000 esp32: Add custom partitions file with factory app size of 2MBytes. · micropython/micropython-esp32@b28dc7a · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.

Commit b28dc7a

Browse files
author
Daniel Campora
committed
esp32: Add custom partitions file with factory app size of 2MBytes.
1 parent 245b139 commit b28dc7a

File tree

2 files changed

+6
-1
lines chang 8000 ed

2 files changed

+6
-1
lines changed

esp32/Makefile

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

855855
PYTHON2 ?= python2
856-
PART_SRC = $(ESPCOMP)/partition_table/partitions_singleapp.csv
856+
PART_SRC = partitions_singleapp.csv
857857

858858
$(BUILD)/partitions.bin: $(PART_SRC)
859859
$(ECHO) "Create $@"

esp32/partitions_singleapp.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, 2M,

0 commit comments

Comments
 (0)
0