Using G2 core

Wednesday, 08 March 2017 20:17 Menno de Graaf
Print

Introduction

This support page contains a quick introduction to using the great g2core CNC controller software in combination with Djuke products like the Djuke g2core shield and the Djuke Alu30 CNC machine.

https://github.com/synthetos/g2

https://github.com/synthetos/g2/wiki

The g2core github project was forked to add some minor fixes and example configurations for my machine:

https://github.com/Djuke-DIYAudio/g2

Linux

Required tools

sudo apt-get install git-core make bossa-cli

GIT checkout

It is up to the user to choose between the more stable 'master' branch or the development 'edge' branch with the latest features. Make a local GIT clone of the repository using either

git clone https://github.com/synthetos/g2.git -b master --recursive

or

git clone https://github.com/synthetos/g2.git -b edge --recursive

or

git clone https://github.com/Djuke-DIYAudio/g2.git -b edge --recursive

Adjustments

Because the Arduino Due does not have an EEPROM to store persistent settings it is advised to make your own settings file containing your machines configuration and build a custom g2core firmware which includes this configuration. Copy from e.g. settings/settings_Djuke_test.h and adjust it for your situation.

Hints:

Building

cd g2/g2core (for edge)
cd g2/TinyG2 (for master)
make BOARD=gShield SETTINGS_FILE=settings_Djuke_test.h

Flashing

See https://github.com/synthetos/g2/wiki/Flashing-g2core-with-Linux

Last Updated on Friday, 21 June 2019 10:51