Wiki

Clone wiki

5DPrint Firmware / Compiling firmware

The firmware is compiled using the make utility with the Makefile in the source code. It requires avr-gcc to compile. On windows, you can simply install WinAvr. On Mac and Unix-like systems, install avr-gcc with your preferred installer.

The firmware is compatible with Printrboard Rev. B and 5DPrint D8 Driver Board. To compile for the target board, you need to change a flag in the Makefile. For example, if you are compiling for the 5DPrint D8 Driver Board, you need to uncomment the first line and comment out the second line like the example below.

HARDWARE = _5DPD8
# HARDWARE = PRINTRBOARD_REVB

Or you can redefine HARDWARE in the make command

5DPrint D8 Build

make clean && make

Printrboard Rev B Build

make clean && make HARDWARE=PRINTRBOARD_REVB

Updated