Skip to content

Additional partition scheme min_spiffs #1302

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 14, 2018
Merged

Additional partition scheme min_spiffs #1302

merged 1 commit into from
Apr 14, 2018

Conversation

reaper7
Copy link
Contributor

@reaper7 reaper7 commented Apr 9, 2018

with minimal SPIFFS partition size for bigger apps and OTA support

useful for problems:
#1194
#1282
but leaving the OTA functionality available (unlike no_ota scheme)

addition for:
535a55d
75b08d5

P.S. is there a possibility to add partitions select for all available boards? (not only for esp32 dev board)

with minimal SPIFFS partition size and OTA support for bigger apps
@me-no-dev me-no-dev merged commit 4da5d46 into espressif:master Apr 14, 2018
@me-no-dev
Copy link
Member

yeah... to add partitions to all boards we should figure out either a board generator, or combine the boards and change the variant as a submenu. Boards are too many anyway and most are the same

@reaper7
Copy link
Contributor Author

reaper7 commented Apr 14, 2018

Another problem is a hardcoded upload.maximum_size.
For large application we select partition scheme for "big apps",
partitions will be properly prepared but at the compilation end we still get exceeded size error,
because we compare compiled sketch size with hardcoded upload.maximum_size
but it should be compared with the right entry from selected partition.

@ReanimationXP
Copy link

ReanimationXP commented Apr 19, 2018

^ This is a problem I'm running into. All sketches larger than 1310720 bytes report the following, regardless of partition size:
Sketch uses 1560446 bytes (119%) of program storage space. Maximum is 1310720 bytes.

image

@beegee-tokyo
Copy link
Contributor

Until this is fixed, you can still use the old method to Change partition size.
Works fine for me. Output from example sketch with Bluetooth and BLE included:

Archiving built core (caching) in: C:\Users\BeeGee\AppData\Local\Temp\arduino_cache_147130\core\core_espressif_esp32_esp32max_FlashMode_qio,FlashFreq_80,FlashSize_4M,UploadSpeed_921600,DebugLevel_none_af83d5f1a3fa262478237a470cbae092.a
Sketch uses 1567406 bytes (79%) of program storage space. Maximum is 1966080 bytes.
Global variables use 70308 bytes (23%) of dynamic memory, leaving 224604 bytes for local variables. Maximum is 294912 bytes.
Sending invitation to 192.168.0.112 ..........

@reaper7
Copy link
Contributor Author

reaper7 commented Apr 20, 2018

as @beegee-tokyo wrote, at this moment we have new partition file
and we have to make a change only in the boards.txt

Curclamas pushed a commit to Curclamas/arduino-esp32 that referenced this pull request Aug 21, 2018
with minimal SPIFFS partition size and OTA support for bigger apps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants