Project

General

Profile

Support #778

Compile GRBL on Arch Linux

Added by Daniel Curtis about 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Embedded
Target version:
Start date:
03/20/2016
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:

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 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
    

Resource

Also available in: Atom PDF