Skip to content

Compiling g2core on Linux and OS X (command line)

Justin Clift edited this page May 13, 2018 · 6 revisions

What's Needed

  • Linux (Ubuntu-based)

    sudo apt-get install git-core make

    If you're running a 64-bit version of Ubuntu, you'll also need to install some 32-bit pieces:

    sudo apt-get install libstdc++6:i386
  • 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/g2core
make PLATFORM=DUE BOARD=gShield

For TinyG V9 board:

cd g2/g2core
make CONFIG=TestV9

Flashing and Debugging

Clone this wiki locally