Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic ESP32 Partition table modification (Read 2657 times)
nicky
Newbies
*
Offline


Posts: 3
Joined: Jun 13th, 2020
ESP32 Partition table modification
Jun 13th, 2020 at 10:45am
Print Post  
I've changed the ESP32 partition table definition and created a new binary file.  How do I get the compiler to use it?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ESP32 Partition table modification
Reply #1 - Jun 13th, 2020 at 12:31pm
Print Post  
The output requested in yellow above will show us what you need
  
Back to top
WWW  
IP Logged
 
nicky
Newbies
*
Offline


Posts: 3
Joined: Jun 13th, 2020
Re: ESP32 Partition table modification
Reply #2 - Jun 13th, 2020 at 6:26pm
Print Post  
File attached.

I'm trying to increase the memory available to my software and I don't need OTA capability so I've used the huge_app.csv partition table.

There may be a better way of doing this...

I'm guessing this is the line in question from the log file:

s/gen_esp32part.exe" -q s/partitions/default.csv" lease/BLETest.ino.partitions.bin"

So can I change that or do I need to rename the huge_app.csv file as default.csv?
« Last Edit: Jun 13th, 2020 at 6:28pm by nicky »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ESP32 Partition table modification
Reply #3 - Jun 13th, 2020 at 8:45pm
Print Post  
Yes you can override the partion file in two ways however you should ensure you have reviewed the "Partion Schemes" on the vMicro menu. Those are the different schemes that ship with the board code.

Keep in mind that what works for the Arduino IDE will also work for Visual Micro. This article shows how to use a custom esp32 partion

Plus you can use a board.txt in the local visual micro project to override any properties. In this case the properties will be set without board prefix like this:-

//board.txt
Code
Select All
build.partitions=MyCustomPartionFileName 


« Last Edit: Jun 13th, 2020 at 8:46pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
nicky
Newbies
*
Offline


Posts: 3
Joined: Jun 13th, 2020
Re: ESP32 Partition table modification
Reply #4 - Jun 14th, 2020 at 7:33am
Print Post  
Which bit of the vMicro menu is it under as I don't appear to have that option?

Is it something to do with this?

https://github.com/espressif/arduino-esp32/issues/1906

as that's the board I have.

« Last Edit: Jun 14th, 2020 at 7:43am by nicky »  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2174
Joined: Feb 13th, 2019
Re: ESP32 Partition table modification
Reply #5 - Jun 15th, 2020 at 11:15am
Print Post  
That is why the Partition Schemes are missing from the vMicro menu for your board, and you could add them in manually as noted on that thread.

It may be worth adding a fresh request to that repository to get this updated in the core.

  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint