Hi,
I use the Visual Micro IDE addon for Visual Studio to program my nodes.
After updating my config with last boards config v1.5.0 (was v1.3.0), I'am unable to compile any sketch in Visual Micro IDE (works on arduino IDE 1.8.10).
The compiler gives me error below :
QuoteError compiling core
cc1.exe*: error: -fno-fat-lto-objects are supported only with linker plugin
Same error when compiling for moteino or moteinoMega board.
If I select another arduino board with 328p mcu, compilation works.
It works with Arduino IDE 1.8.10 and moteino boards v1.5.0
It works with Visual Micro and moteino boards v1.3.0
It works with Visual Micro and other boards than moteino
It doesn't work with Visual Micro and moteino boards v1.5.0
so to my mind, error depends of the new definition boards v1.5.0
There's a lot of modifications in Moteino-1.5\Platform.txt from Moteino-1.3\Platform.txt, but I'm not able to identify where to check...
Any help is welcome !
Tried with v1.4.0 and it works !
If I'm right, v1.5.0 should give smaller compiled binary files than v1.4.0, no other difference ?
Correct, 1.5 should be smaller binary and other optimizations based on the latest AVR release at the time from Arduino (1.6.21 I believe).
It's essentially the same release as Arduino's AVR. I wonder if you try to compile for Genuino/UNO if you get the same errors.
Upon checking I do see there's a new release 1.8.1 for AVR. I will try to update to that next release, whenever I will have a chance to do that.
If you find a version that works, I guess use that in the interim. The binary might be larger.
it works with boards from Arduino AVR Boards Built-In by Arduino Version 1.8.1:
- Arduino/Genuino Uno
- ATmega328p (Arduino Duemilanove or Decimilia)
- ATmega328p (Arduino nano)
I can keep v1.4.0 for the moment.
Good to know, thanks. I will try to get to this soon.