mirror of
https://github.com/platformio/platformio-core.git
synced 2025-10-05 01:50:56 +02:00
34 lines
941 B
ReStructuredText
34 lines
941 B
ReStructuredText
![]() |
.. _ide:
|
||
|
|
||
|
IDE Integration
|
||
|
===============
|
||
|
|
||
|
Eclipse
|
||
|
-------
|
||
|
`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>`_
|
||
|
|
||
|
|
||
|
VIM
|
||
|
---
|
||
|
|
||
|
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
|
||
|
|
||
|
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.
|