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 HoodLoader2 type board gives compile error: cc1.exe*: error: -fno-fat-lto-objects are supported only (Read 1896 times)
Itsmetoo
Junior Member
**
Offline


Posts: 25
Joined: Jan 25th, 2015
HoodLoader2 type board gives compile error: cc1.exe*: error: -fno-fat-lto-objects are supported only
Dec 31st, 2018 at 12:10pm
Print Post  
HIDLoader2 is a very interresting loarder to load on the 16U2  chip of the MEGA1650. This gives the possibility to use USB HID on the MEGA.
I followed the procedure and the 16U2 is updated.
I still can flash the blink on the MEGA2560.

To be able to use the HID functions a specific board needs to be installed :

https://raw.githubusercontent.com/NicoHood/HoodLoader2/master/package_NicoHood_H...

When the hoodloader2 Mega 2560 board is selected and compilation is launched, it throws 

cc1.exe*: error: -fno-fat-lto-objects are supported only with linker plugin
Error compiling core


The same is working with arduino IDE... 

Any Idea?

Sebastien
« Last Edit: Dec 31st, 2018 at 12:48pm by Tim@Visual Micro »  

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: HoodLoader2 type board gives error at compiling time
Reply #1 - Dec 31st, 2018 at 12:47pm
Print Post  
When I looked at your output again I noticed you have an old version of the avr tools installed via board manager. You never need to install avr via board manager because a version is always installed with the arduino ide. Therefore, when you upgrade the arduino ide you also upgrade the avr toolchain.


Please delete "C:\Users\sebastien.H\AppData\Local\arduino15\packages\arduino" then click Rescan or restart the ide.


Visual Micro will always gives priority to the board manager tools you have installed. Maybe in the future it might give priority to the newest version of a toolchain because its' confusing since they re-introduced avr into the arduino ide (they took it out in 1.6.4)


  
Back to top
IP Logged
 
Itsmetoo
Junior Member
**
Offline


Posts: 25
Joined: Jan 25th, 2015
Re: HoodLoader2 type board gives compile error: cc1.exe*: error: -fno-fat-lto-objects are supported only
Reply #2 - Dec 31st, 2018 at 6:13pm
Print Post  
You are impressively fast... and good! 

Thank you!

PS: Happy new year!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint