Skip to content

Latest commit

 

History

History
76 lines (45 loc) · 3.53 KB

README.md

File metadata and controls

76 lines (45 loc) · 3.53 KB

ACCESS TO 16MB FLASH ON ESP32-WROOM-32 16MB

How to take advantage on the 16MB Flash with the Arduino IDE on the ESP32-WROOM-32D 16MB

You now gone get these alternatives in your Arduino IDO

16MB-1 -> 16MB Flash (4.5MB APP, OTA, 7MB SPIFFS)
16MB-2 -> 16MB Flash (6.5MB APP, OTA, 3.5MB SPIFFS)
16MB-3 => 16MB Flash (8.2MB APP, OTA, 1MB SPIFFS)
16MB-MAX => 16MB Flash (16MB APP, 1MB SPIFFS)

alt text

ESP32-WROOM-32D 16MB Flash Memory Wi-Fi+BT+BLE ESP32 Module Espressif

alt text

Purchased from www.Aliexpress.com

Start by inserting this into the "Arduino Boards Manger URLs".

1. Set in this path at "Arduino Preferences" => Boards Manager URLs: https://dl.espressif.com/dl/package_esp32_index.json

2. Then install the Version 1.0.6 at the "Boards Manager" (not Ver. 2.x.x).

You need to make some minor changes to the BOARDS.TXT located her in Windows

C:\Users\XXXX\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\boards.txt

1. Change to these values WHEN USE ESP32 - 16MB FLACH

##############################################################
###          WHEN USE OF THE ESP32 - 16MB FLACH            ###
##############################################################
esp32.upload.maximum_size=16672736
esp32.upload.maximum_data_size=4521984

2. Insert this after the last: esp32.menu.PartitionScheme

esp32.menu.PartitionScheme.large_spiffs=16MB-1 -> 16MB Flash (4.5MB APP, OTA, 7MB SPIFFS)
esp32.menu.PartitionScheme.large_spiffs.build.partitions=User1_large_spiffs_16MB
esp32.menu.PartitionScheme.large_spiffs.upload.maximum_size=4685824

esp32.menu.PartitionScheme.large_app_user2=16MB-2 -> 16MB Flash (6.5MB APP, OTA, 3.5MB SPIFFS)
esp32.menu.PartitionScheme.large_app_user2.build.partitions=User2_large_app_spiffs_16MB
esp32.menu.PartitionScheme.large_app_user2.upload.maximum_size=6488064

esp32.menu.PartitionScheme.large_app_user3=16MB-3 => 16MB Flash (8.2MB APP, OTA, 1MB FATFS)
esp32.menu.PartitionScheme.large_app_user3.build.partitions=User3_large_app_spiffs_16MB
esp32.menu.PartitionScheme.large_app_user3.upload.maximum_size=8257536

esp32.menu.PartitionScheme.large_app_user4=16MB-MAX => 16MB Flash (16MB APP, 1MB FATFS)
esp32.menu.PartitionScheme.large_app_user4.build.partitions=User4_large_app_spiffs_16MB
esp32.menu.PartitionScheme.large_app_user4.upload.maximum_size=16672736

3. Then copy the four new Partition-files to this location

C:\Users\XXXX\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\tools\partitions
Copy these four partitions files :
User1_large_spiffs_16MB.csv
User2_large_app_spiffs_16MB.csv
User3_large_app_spiffs_16MB.csv
User4_large_app_spiffs_16MB.csv

Special thanks to M5Stack Fire support

The original article this is based on can be found here

HOWTO: M5Stack Fire - use the full 16MB with the Arduino IDE (UPDATED)