Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4da5d46

Browse filesBrowse files
reaper7me-no-dev
authored andcommitted
Additional partition scheme min_spiffs (espressif#1302)
with minimal SPIFFS partition size and OTA support for bigger apps
1 parent febcda0 commit 4da5d46
Copy full SHA for 4da5d46

File tree

3 files changed

+12
-0
lines changed
Filter options

3 files changed

+12
-0
lines changed

‎Kconfig.projbuild

Copy file name to clipboardExpand all lines: Kconfig.projbuild
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,16 @@ config ARDUHAL_PARTITION_SCHEME_MINIMAL
9090
bool "Minimal (for 2MB FLASH)"
9191
config ARDUHAL_PARTITION_SCHEME_NO_OTA
9292
bool "No OTA (for large apps)"
93+
config ARDUHAL_PARTITION_SCHEME_MIN_SPIFFS
94+
bool "Minimal SPIFFS (for large apps with OTA)"
9395
endchoice
9496

9597
config ARDUHAL_PARTITION_SCHEME
9698
string
9799
default "default" if ARDUHAL_PARTITION_SCHEME_DEFAULT
98100
default "minimal" if ARDUHAL_PARTITION_SCHEME_MINIMAL
99101
default "no_ota" if ARDUHAL_PARTITION_SCHEME_NO_OTA
102+
default "min_spiffs" if ARDUHAL_PARTITION_SCHEME_MIN_SPIFFS
100103

101104

102105
config AUTOCONNECT_WIFI

‎boards.txt

Copy file name to clipboardExpand all lines: boards.txt
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ esp32.menu.PartitionScheme.minimal=Minimal (2MB FLASH)
3535
esp32.menu.PartitionScheme.minimal.build.partitions=minimal
3636
esp32.menu.PartitionScheme.no_ota=No OTA (Large APP)
3737
esp32.menu.PartitionScheme.no_ota.build.partitions=no_ota
38+
esp32.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (Large APPS with OTA)
39+
esp32.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
3840

3941
esp32.menu.FlashMode.qio=QIO
4042
esp32.menu.FlashMode.qio.build.flash_mode=dio

‎tools/partitions/min_spiffs.csv

Copy file name to clipboard
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Name, Type, SubType, Offset, Size, Flags
2+
nvs, data, nvs, 0x9000, 0x5000,
3+
otadata, data, ota, 0xe000, 0x2000,
4+
app0, app, ota_0, 0x10000, 0x1E0000,
5+
app1, app, ota_1, 0x1F0000,0x1E0000,
6+
eeprom, data, 0x99, 0x3F0000,0x1000,
7+
spiffs, data, spiffs, 0x3F1000,0xF000,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.