Files
platformio-core/docs/ide.rst

63 lines
2.2 KiB
ReStructuredText
Raw Normal View History

2014-08-09 16:31:20 +03:00
.. _ide:
IDE Integration
===============
2015-02-15 21:12:25 +02:00
.. contents::
2014-10-07 16:11:12 +03:00
Arduino IDE
-----------
2014-11-12 19:33:35 +02:00
.. image:: _static/ide-platformio-arduino.png
:target: http://www.ikravets.com/computer-life/platformio/2014/10/07/integration-of-platformio-library-manager-to-arduino-and-energia-ides
* `Integration of PlatformIO library manager to Arduino IDE <http://www.ikravets.com/computer-life/platformio/2014/10/07/integration-of-platformio-library-manager-to-arduino-and-energia-ides>`_
2014-10-07 16:11:12 +03:00
2014-08-09 16:31:20 +03:00
Eclipse
-------
2014-11-12 19:33:35 +02:00
.. image:: _static/ide-platformio-eclipse.png
:target: http://www.ikravets.com/computer-life/programming/2014/06/20/building-and-debugging-atmel-avr-arduino-based-project-using-eclipse-ideplatformio
* `Building and debugging Atmel AVR (Arduino-based) project using Eclipse IDE+PlatformIO <http://www.ikravets.com/computer-life/programming/2014/06/20/building-and-debugging-atmel-avr-arduino-based-project-using-eclipse-ideplatformio>`_
2014-12-03 14:56:24 +02:00
* `More examples (TI MSP430, TI TIVA and etc) <https://github.com/ivankravets/platformio/tree/develop/examples/ide-eclipse>`_
2014-08-09 16:31:20 +03:00
2014-10-07 16:11:12 +03:00
Energia IDE
-----------
2014-11-12 19:33:35 +02:00
.. image:: _static/ide-platformio-energia.png
:target: http://www.ikravets.com/computer-life/platformio/2014/10/07/integration-of-platformio-library-manager-to-arduino-and-energia-ides
* `Integration of PlatformIO library manager to Energia IDE <http://www.ikravets.com/computer-life/platformio/2014/10/07/integration-of-platformio-library-manager-to-arduino-and-energia-ides>`_
2014-08-09 16:31:20 +03:00
VIM
---
2014-11-12 19:33:35 +02:00
.. image:: _static/ide-platformio-vim.png
2014-08-09 16:31:20 +03:00
Recommended bundles:
* Syntax highlight - `Arduino-syntax-file <https://github.com/vim-scripts/Arduino-syntax-file>`_
* Code Completion - `YouCompleteMe <https://github.com/Valloric/YouCompleteMe>`_
* Syntax checking - `Syntastic <https://github.com/scrooloose/syntastic>`_
Put to the project directory ``Makefile`` wrapper with contents:
.. code-block:: make
# Uncomment lines below if you have problems with $PATH
#SHELL := /bin/bash
#PATH := /usr/local/bin:$(PATH)
2014-08-09 16:31:20 +03:00
all:
platformio run -t upload
clean:
platformio run -t clean
Now, in VIM ``cd /path/to/this/project`` and press ``Ctrl+B`` or ``Cmd+B``
(Mac). *PlatformIO* should compile your source code from the ``src`` directory,
make firmware and upload it.