mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-17 19:30:36 +00:00
update partitions
This commit is contained in:
1 parent
2ef7f7a44a
commit
166c1a7708
3 files changed
+6
-4
No files matched your search
@@ -32,7 +32,7 @@ dashboard.hex: build
|
|||||||
esputil mkhex \
|
esputil mkhex \
|
||||||
0x8000 build/partition_table/partition-table.bin \
|
0x8000 build/partition_table/partition-table.bin \
|
||||||
0x1000 build/bootloader/bootloader.bin \
|
0x1000 build/bootloader/bootloader.bin \
|
||||||
0x100000 build/mongoose-esp32-example.bin > $@
|
0x20000 build/mongoose-esp32-example.bin > $@
|
||||||
|
|
||||||
flash2: dashboard.hex
|
flash2: dashboard.hex
|
||||||
esputil -p $(PORT) -b 921600 -fp 0x220 flash dashboard.hex
|
esputil -p $(PORT) -b 921600 -fp 0x220 flash dashboard.hex
|
||||||
@@ -41,7 +41,7 @@ flash2: dashboard.hex
|
|||||||
ESPTOOL ?= esptool.py
|
ESPTOOL ?= esptool.py
|
||||||
|
|
||||||
flash3:
|
flash3:
|
||||||
cd build && $(ESPTOOL) --chip esp32 -p $(PORT) -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 40m --flash_size 2MB 0x8000 partition_table/partition-table.bin 0x1000 bootloader/bootloader.bin 0x100000 mongoose-esp32-example.bin
|
cd build && $(ESPTOOL) --chip esp32 -p $(PORT) -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 40m --flash_size 4MB 0x8000 partition_table/partition-table.bin 0x1000 bootloader/bootloader.bin 0x20000 mongoose-esp32-example.bin
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
test -d build && $(DOCKER) rm -rf build sdkconfig || true
|
test -d build && $(DOCKER) rm -rf build sdkconfig || true
|
||||||
|
|||||||
@@ -2,5 +2,5 @@
|
|||||||
nvs, data, nvs, , 0x6000
|
nvs, data, nvs, , 0x6000
|
||||||
otadata, data, ota, , 0x2000,
|
otadata, data, ota, , 0x2000,
|
||||||
phy_init, data, phy, , 0x1000,
|
phy_init, data, phy, , 0x1000,
|
||||||
ota_0, app, ota_0, , 948K,
|
ota_0, app, ota_0, , 1536K,
|
||||||
ota_1, app, ota_1, , 948K,
|
ota_1, app, ota_1, , 1536K,
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
|
||||||
|
CONFIG_ESPTOOLPY_FLASHSIZE="4MB"
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM=y
|
CONFIG_PARTITION_TABLE_CUSTOM=y
|
||||||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
|
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
|
||||||
CONFIG_PARTITION_TABLE_FILENAME="partitions.csv"
|
CONFIG_PARTITION_TABLE_FILENAME="partitions.csv"
|
||||||
|
|||||||
Reference in new issue
Block a user