question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Custom partition table

See original GitHub issue

See http://docs.platformio.org/en/latest/platforms/espressif32.html#partition-tables


Configuration

Operating system: Windows 7 Ultimate 64bit Service Pack 1

PlatformIO Version (platformio --version): 3.5.0rc10

Visual Studio Code Version: 1.18.0

Atom Version: 1.23.1 x64

Description of problem

Partition sizes doesn’t change even if default.csv is changed.

Steps to Reproduce

Following this issue I tried to change the partition sizes on my ESP32 Dev Module. The changed default.csv:

Name, Type, SubType, Offset, Size, Flags

nvs, data, nvs, 0x9000, 0x5000, otadata, data, ota, 0xe000, 0x2000, app0, app, ota_0, 0x10000, 0x150000, app1, app, ota_1, 0x160000,0x150000, eeprom, data, 0x99, 0x310000,0x1000, spiffs, data, spiffs, 0x311000,640K,

But after uploading the partition sizes are still the default ones:

App partition table: SubType 10 Address 0x010000 Size 0x140000 Encryption 0 Label app0 SubType 11 Address 0x150000 Size 0x140000 Encryption 0 Label app1 Data partition table: SubType 02 Address 0x009000 Size 0x005000 Encryption 0 Label nvs SubType 00 Address 0x00e000 Size 0x002000 Encryption 0 Label otadata SubType 99 Address 0x290000 Size 0x001000 Encryption 0 Label eeprom SubType 82 Address 0x291000 Size 0x16f000 Encryption 0 Label spiffs

Then I tried the exact same procedure on Arduino IDE and the partition size changed to:

App partition table: Type: 00 SubType 10 Address 0x010000 Size 0x150000 Encryption 0 Label app0 Type: 00 SubType 11 Address 0x160000 Size 0x150000 Encryption 0 Label app1 Data partition table: Type: 01 SubType 02 Address 0x009000 Size 0x005000 Encryption 0 Label nvs ype: 01 SubType 00 Address 0x00E000 Size 0x002000 Encryption 0 Label otadata Type: 01 SubType 99 Address 0x310000 Size 0x001000 Encryption 0 Label eeprom Type: 01 SubType 82 Address 0x311000 Size 0x0A0000 Encryption 0 Label spiffs

Going back to PlatformIO, I uploaded my code again from there and the changed partition sizes are still valid.

It seems that PlatformIO doesn’t change the partition size at all. Or is my method to change the partition sizes wrong?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:29 (6 by maintainers)

github_iconTop GitHub Comments

5reactions
ivankravetscommented, May 25, 2018
  1. Please upgrade PIO Core to the latest 3.5.3rc1 via pio upgrade --dev
  2. Please use the latest upstream version (NOT STAGING, we need https://github.com/espressif/arduino-esp32/pull/1440/files)
  3. YOU DO NOT NEED ANY EXTRA SCRIPTS. See updated docs http://docs.platformio.org/en/latest/platforms/espressif32.html#partition-tables

Please re-test and confirm. The final release of dev/platform is planned for the next week.

Thanks!

1reaction
beegee-tokyocommented, May 9, 2018

@BorisFR on ArduinoIDE there seems now to be a solution, but not for PlatformIO 😦

Read more comments on GitHub >

github_iconTop Results From Across the Web

Partition Tables - ESP32 - — ESP-IDF Programming Guide ...
Creating Custom Tables . If you choose “Custom partition table CSV” in menuconfig then you can also enter the name of a...
Read more >
How to configure custom partition table on Red Hat Satellite 6 ...
How to configure custom partition table on Red Hat Satellite 6 to include hostname in volume group. Solution Verified - Updated February 18 ......
Read more >
Partition Table — Arduino-ESP32 2.0.6 documentation
Using a Custom Partition Scheme¶. To create your own partition table, you can create the partitions.csv file in the same folder you created...
Read more >
Creating a Custom Partition Table
Back up any files you want to keep. · From the Installation Settings dialog, select Partitioning, select Create custom partition option, then click...
Read more >
Partition Tables - ESP-IDF Programming Guide - Read the Docs
If you choose “Custom partition table CSV” in menuconfig then you can also enter the name of a CSV file (in the project...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found