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 -mrelax avr g++ atmega2560 (Read 770 times)
joelvoisin
Newbies
*
Offline


Posts: 2
Joined: Nov 24th, 2021
-mrelax avr g++ atmega2560
Nov 24th, 2021 at 10:12am
Print Post  
hello ; i want to use parameter -mrelax for avr g++ for compilation for atmega2560  ; how to add this compilation parameter to avr g++ ??? i used visual studio 2019 ; arduino 1.0 ; Thank You  Cool
  

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


Posts: 2174
Joined: Feb 13th, 2019
Re: -mrelax avr g++ atmega2560
Reply #1 - Nov 24th, 2021 at 11:59am
Print Post  
If you click on the project in solution explorer, then press F4, the properties window should appear.  Towards the bottom there will be the Micro General section, and this option can be added in the Extra Flags option.
  
Back to top
 
IP Logged
 
joelvoisin
Newbies
*
Offline


Posts: 2
Joined: Nov 24th, 2021
Re: -mrelax avr g++ atmega2560
Reply #2 - Nov 24th, 2021 at 12:34pm
Print Post  
the good section is : "Extra C.elf flags" ; thank you Cool this parameter "-mrelax" allows programming above 128kb for the atmega2560 under Arduino 1.0.x
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint