по порядку (что написано в readme на марлина):
1. устанавливаем ардуино
Install the arduino software IDE/toolset v22
http://www.arduino.cc/en/Main/Software2. копируем папку:
For gen6 and sanguinololu the Sanguino directory in the Marlin dir needs to be copied to the arduino environment. copy Marlin\sanguino <arduino home>\hardware\Sanguino
3. Запускаем arduino IDE и выбираем параметры:
Select Tools -> Board -> Arduino Mega 2560 or your microcontroller
Select the correct serial port in Tools ->Serial Port
4. открываем проект:
Open Marlin.pde
5. нажимаем кнопку:
Click the Verify/Compile button
6. нажимаем кнопку:
Click the Upload button
все...