Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 

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 and Verbose
  • 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
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
Cannot build with Monitor free memory (Read 568 times)
virtualman
Newbies
*
Offline



Posts: 1
Cannot build with Monitor free memory
Feb 10th, 2022 at 11:54pm
 
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!
Back to top
 

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



Posts: 1578
Re: Cannot build with Monitor free memory
Reply #1 - Feb 11th, 2022 at 9:47am
 
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:
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: 1578
Re: Cannot build with Monitor free memory
Reply #2 - Feb 18th, 2022 at 2:39pm
 
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
 
Page Index Toggle Pages: 1
Send Topic Print