I uploaded hundreds of times the Marlin firmware to my Arduino Mega board with no problems. But in this year they released the 2.x version and I am having a hard time to upload it to my Arduino Mega board using ARDUINO IDE. I already reported this issue on GITHUB but they told me “Arduino IDE is buggy, use PlatformIO/VSCODE”. However installing platform io and vscode uses lots of space, install tons of unnecessary things.
So I would like to keep using Arduino IDE. When I try to compile the project I see these messages below. How can I solve it?
.... .... "sketch\\src\\sd\\usb_flashdrive\\lib-uhs2\\usbhost.cpp.o" "libraries\\LiquidCrystal\\LiquidCrystal.cpp.o" "core\\core.a" "-LC:\\Users\\PC\\AppData\\Local\\Temp\\arduino_build_428456" -lm avr-gcc: error: CreateProcess: No such file or directory Using library LiquidCrystal at version 1.0.7 in folder: Z:\Desktop\COPIE SOMENTE O ATALHO - arduino\libraries\LiquidCrystal exit status 1 Error compiling for board Arduino Mega or Mega 2560.