Files
platformio-core/examples/atmelavr-and-arduino/atmelavr-native-blink
2015-02-14 17:57:46 +02:00
..
2015-02-08 21:55:26 +02:00
2015-02-08 21:55:26 +02:00

How to buid PlatformIO based project
====================================

1. `Install PlatformIO <http://docs.platformio.org/en/latest/installation.html>`_
2. Download `source code with examples <https://github.com/ivankravets/platformio/archive/develop.zip>`_
3. Extract ZIP archive
4. Run these commands:

.. code-block:: bash

    # Change directory to example
    > cd platformio-develop/examples/atmelavr-and-arduino/atmelavr-native-blink

    # Process example project
    > platformio run

    # Upload firmware
    > platformio run --target upload

    # Clean build files
    > platformio run --target clean