Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add platformio configuration file. #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bertrik
Copy link

@bertrik bertrik commented Oct 13, 2018

This change add a platformio configuration.

Platformio is a build framework that is able to compile and upload Arduino programs. Settings like which target you run (esp8266), which board (e.g. wemos d1 mini) and which libraries you use (and their versions) are specified in a simple text file. This enables you to build the firmware from the command line without having to worry if you selected the correct target board (with the correct settings) in the Arduino IDE and without having to remember which library you use.

On Debian Linux you can install it with
sudo apt-get install python-pip
sudo pip install platformio

Then you can compile and upload the binary using
pio run -t upload

It will download (and cache locally) the xtensa toolchain, arduino libraries, compile the source and upload it to your board.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant