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

#1

Updated by Daniel Curtis about 8 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50
#2

Updated by Daniel Curtis about 8 years ago

  • Description updated (diff)
  • Status changed from In Progress to Resolved
  • % Done changed from 50 to 100
#3

Updated by Daniel Curtis about 8 years ago

  • Status changed from Resolved to Closed
#4

Updated by Daniel Curtis almost 8 years ago

  • Description updated (diff)

Also available in: Atom PDF