OSE Marlin and Github: Difference between revisions
No edit summary |
No edit summary |
||
Line 37: | Line 37: | ||
# Click 'File' -> 'Open...' | # 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' | # 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' | ||
=Import any necessary libraries= | |||
For example, using the REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER LCD screen, you need to [https://code.google.com/archive/p/u8glib/downloads download & import the appropriate u8glib library into your Arduino IDE] | |||
=Update Arduino= | =Update Arduino= |
Revision as of 00:27, 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
Now 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'
Import any necessary libraries
For example, using the REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER LCD screen, you need to download & import the appropriate u8glib library into your Arduino IDE
Update Arduino
To update your 3d printer's arduino, click the 'Verify' checkbox in the Arduino IDE, followed by the 'Upload' button.