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 Cannot build with Monitor free memory (Read 2029 times)
virtualman
Newbies
*
Offline


Posts: 1
Joined: Sep 9th, 2020
Cannot build with Monitor free memory
Feb 10th, 2022 at 11:54pm
Print Post  
I tried to use the monitor free memory feature with an ESP32 board, with both options, by the debugger option or by the breakpoint, but it does not compile!

Help please!
  

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


Posts: 2145
Joined: Feb 13th, 2019
Re: Cannot build with Monitor free memory
Reply #1 - Feb 11th, 2022 at 9:47am
Print Post  
Thanks for the report.

The Free Memory report is currently not compatible with the ESP32 architecture, however we are looking to integrate this in an upcoming release.

We will confirm when this is available, and at present this is best disabled from the vMicro > Debugger menu.

You can obtain the memory values in your sketch using the below functions:

Code
Select All
uint32_t getHeapSize(); //total heap size
uint32_t getFreeHeap(); //available heap
uint32_t getMinFreeHeap(); //lowest level of free heap since boot
uint32_t getMaxAllocHeap(); //largest block of heap that can be allocated at once 

  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2145
Joined: Feb 13th, 2019
Re: Cannot build with Monitor free memory
Reply #2 - Feb 18th, 2022 at 2:39pm
Print Post  
The ESP32/8266 FreeHeap() has been integrated into the Memory Monitor in the latest build (22.02.18-0) which is available from the top of the below board:
https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
  
Back to top
 
IP Logged
 
Kev
Junior Member
**
Offline


Posts: 10
Joined: May 7th, 2018
Re: Cannot build with Monitor free memory
Reply #3 - May 14th, 2023 at 7:28am
Print Post  
Hi, 

Did you roll back free memory monitoring for the ESP32 ?

The link posted above no longer works and I still get that compile message about the bad heap starting point.
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2145
Joined: Feb 13th, 2019
Re: Cannot build with Monitor free memory
Reply #4 - May 15th, 2023 at 9:36am
Print Post  
Can you attach the build log with the Verbose and Show Build Options enabled (shown at the top of this page) so we can investigate the issue more easily?
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint