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 ld returned 1 exit status when trying to report free memory (Read 3219 times)
michael721
Newbies
*
Offline


Posts: 1
Joined: Aug 10th, 2016
ld returned 1 exit status when trying to report free memory
Aug 10th, 2016 at 2:22am
Print Post  
With the standard "blink" program and an ArduinoZero connected, I tried to get the Free Memory reported (=True setting).
But the program no longer compiles, below you find the output. Thanks for  your help, Michael.

-------------------------------------------------------
Compiling debug version of 'BlinkZero10' for 'Arduino/Genuino Zero (Programming Port)'
VM_mem_check.c.o:In function `_VM_freeListSize
VM_mem_check.c:undefined reference to `__flp
VM_mem_check.c.o:In function `_VM_freeMemory
VM_mem_check.c:undefined reference to `__brkval
VM_mem_check.c:undefined reference to `__heap_start
collect2.exe*:error: ld returned 1 exit status

Error compiling for board Arduino/Genuino Zero (Programming Port)
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ld returned 1 exit status when trying to report free memory
Reply #1 - Aug 10th, 2016 at 12:34pm
Print Post  
Thanks for the post. The free memory was implemented before the zero so will look to see some alternative code hopefully next release
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint