When I eliminate the // in front of #define BLTOUCH and go to compile the firmware I get the following errors:
C:\Users\Mitch\Documents\Arduino\libraries\U8glib\src\clib\u8g_ll_api.c: In function 'u8g_NextPage.constprop':
C:\Users\Mitch\Documents\Arduino\libraries\U8glib\src\clib\u8g_ll_api.c:395:1: internal compiler error: Segmentation fault
Please submit a full bug report,
lto-wrapper.exe: fatal error: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.14.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-gcc returned 1 exit status
compilation terminated.
c:/program files/windowsapps/arduinollc.arduinoide_1.8.14.0_x86__mdqgnx93n4wtt/hardware/tools/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/bin/ld.exe: error: lto-wrapper failed
collect2.exe: error: ld returned 1 exit status
Error compiling for board Arduino/Genuino Mega or Mega 2560.
//#define BLTOUCH in Configuration.h#define BLTOUCH in Configuration.hExpected behavior: Firmware should compile
Actual behavior: Compile errors as stated above
Configuration.h and Configuration_adv.h files.Not an issue with Marlin. It's a bug in the new gcc compiler included in Arduino IDE.
To get Around either use Arduino IDE 1.8.5 or Platformio based Tools.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
Not an issue with Marlin. It's a bug in the new gcc compiler included in Arduino IDE.
To get Around either use Arduino IDE 1.8.5 or Platformio based Tools.