• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

custom partition

Q&A Forum › Category: ESP32 › custom partition
0 Vote Up Vote Down
NUR AZLIN AIRUL AZLIN MOHAMED ZOHDI asked 3 years ago

Hi Sara,
I just bought Lilygo TPCIE sim7600HG that comes with 16MB flash.  i have searched github and the net, and tried some of the tips but to my frustration, they didnt work.  Any idea how to at least get 8MB for app0, 4MB for app1, and 2MB for SPIFFS.

Question Tags: partition scheme 16MB flash
5 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
Take a look at the following tutorial. It might help:

Partition Schemes in the Arduino IDE


Regards,
Sara

0 Vote Up Vote Down
NUR AZLIN AIRUL AZLIN MOHAMED ZOHDI answered 3 years ago

Hi Sara,
Thanks. I tried that already last night, crashed my esp32.

0 Vote Up Vote Down
NUR AZLIN AIRUL AZLIN MOHAMED ZOHDI answered 3 years ago

Found a solution, added these lines into …/board.txt, under esp32wrover board.

esp32wrover.menu.PartitionScheme.large_spiffs=Large SPIFFS (4.5MB APP/OTA/6.93MB SPIFFS)
esp32wrover.menu.PartitionScheme.large_spiffs.build.partitions=large_spiffs_16MB
esp32wrover.menu.PartitionScheme.large_spiffs.upload.maximum_size=4718592

created a new  file ../large_spiffs_16MB.csv to reflect the above partition.

# Name
   Type
 SubType
 Offset
  Size
 Flags

nvs
      data
 nvs
     0x9000
  0x5000

otadata
  data
 ota
     0xe000
  0x2000

app0
     app
  ota_0
   0x10000
 0x480000

app1
     app
  ota_1
   0x490000
0x480000

spiffs
   data
 spiffs
  0x910000
0x6F0000

 

0 Vote Up Vote Down
NUR AZLIN AIRUL AZLIN MOHAMED ZOHDI answered 3 years ago

I think you can mark this as resolved.

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Great!
Thanks for sharing the solution.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.