OSE Marlin and Github: Difference between revisions
No edit summary |
|||
Line 16: | Line 16: | ||
pushd $HOME/sandbox/ose_marlin | pushd $HOME/sandbox/ose_marlin | ||
git pull | git pull | ||
</pre> | |||
=Choose relevant Configuration.h file= | |||
Because OSE has many printers, OSE_Marlin has many distinct configuration files. To use the relevant configuration file for your printer, symlink Configuration.h to the relevant configuration file to the 'Configuration.h' file. | |||
For example, to use the configuration file for the 2018-04 model of the 3d printer using the Titan Aero extruder and an LCD screen: | |||
<pre> | |||
pushd $HOME/sandbox/ose_marlin/OSE_Marlin | |||
rm Configuration.h | |||
ln -s Configuration_TitanAero_lcd.1804.h Configuration.h | |||
</pre> | </pre> | ||
Revision as of 00:04, 27 May 2018
This article will describe how to obtain the latest version of OSE Marlin from Github, load them into the Arduino IDE, and upload the sketch to your arduino.
Git
If you don't already have a local copy of the OSE Marlin git repository, you should setup a local sandbox and clone the remote repository into it. To do so, open a terminal and type:
mkdir $HOME/sandbox/ose_marlin pushd $HOME/sandbox/ose_marlin git clone https://github.com/OpenSourceEcology/3D-Printer-OSE-Marlin.git
If you do already have a local copy of the git repo on your system, make sure to update it using the `git pull` command
pushd $HOME/sandbox/ose_marlin git pull
Choose relevant Configuration.h file
Because OSE has many printers, OSE_Marlin has many distinct configuration files. To use the relevant configuration file for your printer, symlink Configuration.h to the relevant configuration file to the 'Configuration.h' file.
For example, to use the configuration file for the 2018-04 model of the 3d printer using the Titan Aero extruder and an LCD screen:
pushd $HOME/sandbox/ose_marlin/OSE_Marlin rm Configuration.h ln -s Configuration_TitanAero_lcd.1804.h Configuration.h
Open Sketch in Arduino IDE
Once you've updated your local git repo, you can open the sketch in the Arduino IDE:
- Open 'Arduino IDE'
- Click 'File' -> 'Open...'
- Browse to 'OSE_Marlin.ino' file within the git repo cloned above, located in '/home/<your_username>/sandbox/ose_marlin/OSE_Marlin/OSE_Marlin.ino'
Sample workflow with OSE Marlin and Github, with the LCD screen addition as a first workflow sample.