I'm fairly new to Arduino, I tried uploading my files but I had this error:
In file included from C:\Users\gukes\OneDrive\Documents\Marlin-2.0.x\Marlin\Marlin.ino:14:0:
C:\Program Files (x86)\Arduino\libraries\Bridge\src/YunServer.h:24:2: warning: #warning "The use of YunServer is deprecated. Use BridgeServer instead!" [-Wcpp] #warning "The use of YunServer is deprecated. Use BridgeServer instead!"
^~~~~~~
fork/exec C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc.exe: The filename or extension is too long.
Error compiling for board Arduino Mega or Mega 2560.
This error is caused by the hundreds of files of the Marlin sketch causing the compilation command to exceed the maximum 32k command line length on Windows.
The Arduino developers have made a fix for that, but there hasn't been a release of the Arduino IDE since that time. You can get the fix by using the nightly build of the Arduino IDE. You can download it here: