Can't compile Gateway-MQTT project
Closed this issue · 1 comments
I'm getting following error when compiling Gateway-MQTT
Arduino: 1.8.13 (Windows 10), Board: "ATmega328, No bootloader, EEPROM retained, 328PB, BOD 2.7V, LTO disabled, External 8 MHz"
c:/rob/arduino-1.8.13/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: C:\Users\WJCWSM~1.EUR\AppData\Local\Temp\arduino_build_885427/Gateway-MQTT.ino.elf section .data' will not fit in region
text'
c:/rob/arduino-1.8.13/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: region `text' overflowed by 70 bytes
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board ATmega328.
Using UIPEthernet version 2.0.9
and MySensors version 2.3.2
Please enable LTO, it should help.