-
-
Notifications
You must be signed in to change notification settings - Fork 0
Building From Source
First, you need to download the source code. There are multiple ways to do this.
I personally prefer using Sourcetree which makes it very easy to switch between branches. If you're new to git, this is a great way to get your feet wet.
I assume that if you're here, you already understand git. You're mostly on your own, buddy. In case you don't understand git, here's a guide to git for beginners
- Pull down the source
git clone https://github.com/MicroWrave/tri-plus-ger.git
- Open the
tri-plus-ger/
folder in your editor - Optionally, check out the appropriate branch. For example this unstable alpha
git checkout tags/v0.2
Tri+ger source code can be easily built and uploaded to the module within your text editor using an extension called PlatformIO. The editor extension method is recommended.
PlatformIO can be installed on top of many text editors and IDEs Simply add the platformio extension for Mac, Linux, or Windows. Follow installation instructions for your own operating system, environment, editor combo.
In a commend-line only environment install platformio command-line application, and two vim addons with vundle, neomake and neomake-platformio.
How you build will depend on which environment you've set up. You can choose an environment that matches the programmer you're using to shorten the build time. Many common programmers were added to make uploading quick and easy for a variety of hardware. Read more about programmers on the platformIO website.
Select the PlatformIO tab from the sidebar and click either
- Build to build the code
- Upload to build and then upload to the Tri-ger using a programmer.
First run platformio run
navigate to the tri-plus-ger/
folder and run either
platformio build
platformio upload