- A working Anet A8 printer to begin with
- Internet connection
- A working computer (tested on Windows 10 2004 build)
- Download Marlin 2.0.5.3 source code here
- Download Marlin 2.0.5.3 board configurations here
- Download Anet A8 board definition for Marlin from master branch here
- Download Arduino here
- Install Arduino IDE
- Copy Anet A8's board definition
adr
you can find underanet-board-repo-folder/hardware
to theArduino/hardware
system application folder (on Windows should beC:\Program Files (x86)\Arduino\hardware
) - Run Arduino IDE and go to Tools -> Board and set
Anet V1.0
as your board definition for code compilation - Copy all the board configuration files from
Configurations-2.0.5.3\config\examples\Anet\A8
toMarlin-2.0.5.3\Marlin
and override existing configuration files if asked to do so - Open
C:\Program Files (x86)\Arduino\hardware\anet\avr\platform.local.txt
compile configuration file and add the following entries:
compiler.c.extra_flags=-fno-tree-scev-cprop -fno-split-wide-types -Wl,--relax -mcall-prologues
compiler.cpp.extra_flags=-fno-tree-scev-cprop -fno-split-wide-types -Wl,--relax -mcall-prologues
compiler.c.elf.extra_flags=-Wl,--relax
- Open
Marlin-2.0.5.3\Marlin\Marlin.ino
file project and select the properAnet V1.0
board definition for compiling - Click on
Verify
to start compiling Marlin firmware (it should take some time, don't worry)
If you really need to dive in into Marlin's configuration, here is the official documentation