Support #778
Compile GRBL on Arch Linux
Description
This is a guide on how I compiled and flashed GRBL on an Arduino UNO using Arch Linux.
Prepare the Environment¶
- Make sure the system is up to date:
sudo pacman -Syu
- Install a few dependencies:
sudo pacman -S base-devel git avr-gcc
- Install yaourt
- Install the arduino package from the AUR:
yaourt -S arduino
Compile GRBL¶
- Download the latest GRBL source code from GitHub:
git clone https://github.com/grbl/grbl cd grbl
- Compile GRBL:
make clean make grbl.hex
Flash GRBL¶
- Flash the hex file using avrdude:
avrdude -C/etc/avrdude.conf -pm328p -carduino -P/dev/ttyACM0 -D -Uflash:w:grbl.hex