Skip to content

Compiling g2core on Linux and OS X (command line)

rkoe edited this page Mar 29, 2018 · 6 revisions

What's Needed

  • Linux (Ubuntu-based)

    sudo apt-get install git-core make
  • OS X - If you don't already have Xcode command line tools installed (it doesn't hurt to run it again):

    xcode-select --install

Cloning the repo

Build the sources:

For Arduino Due:

cd g2/gcore
make PLATFORM=DUE BOARD=gShield

For TinyG V9 board:

cd g2/g2core
make CONFIG=TestV9

Flashing and Debugging

Clone this wiki locally