Before attempting to compile the software, be sure you have installed the following tools.
Make is a utility that automatically builds executable programs and libraries from source code. It controls the generation of executables and other non-source files of a program from the program's source files.
The software uses this tool to know how to compile and how to flash the binary.
Make is a Unix tool, so a port of this utility for Windows must be installed.
-
Download the Make executable.
-
Execute it and follow the assistant. Make must be installed on the following path:
C:\Program Files (x86)\GnuWin32
Make sure that make.exe exists on the following path:
C:\Program Files (x86)\GnuWin32\bin
The compilation and flash processes use the AVR toolchain. The easy way to get these tools is to install the Arduino SDK (version 1.6.7).
The Arduino files should be installed on the root folder of your sistem (C:\Arduino)
-
Download the installer from Arduino web page.
-
Execute it and follow the assistant. Arduino must be installed on the following path:
C:\Arduino
Clone or download the source code from the following locations:
- Master at bq/Marlin
- Previous releases at bq/Marlin/Releases, including prebuilt binaries and source code for those releases.
Avoid using whitespaces for firmware path, for example.
C:\witbox-fw
On Windows, the building and flashing processes have been automatized on a batch file.
-
Open a new Command Prompt. Press "WinKey + R" and type "cmd" on the recently open window.
-
Browse to your root project folder.
cd C:\your_folder_path\witbox-fw
If the firmware code was downloaded to the previously suggested path.
cd C:\witbox-fw
-
Connect your computer to the printer and identify the COM port assigned.
-
Launch the script.
make.cmd
-
Follow the wizard's instructions to select your device configuration and the COM port used by the printer.
-
Wait until the script finishes.