5,710
edits
Changes
GRBL
,→To compile GRBL and upload to the Arduino
*Open Terminal.
*Set the following environment variabels (i.e. run these commands in the terminal):
***(note: DEVPATH should match the name of your currently connected arduino. you can find this from arduino software under Port selection)
*Add the avr compiler's to your PATH. type this into the terminal:
*Change to the grbl directory:
**NOTE: replace <code>~/Downloads</code> with the full path where you downloaded GRBL.
*Compile GRBL. In the grbl-master director, type: <code>make</code>. GRBL should compile.
*Upload GRBL to the arduino. From the grbl-master directory, run:
adapted from here: https://github.com/grbl/grbl/wiki/Flashing-Grbl-to-an-Arduino