mirror of
https://github.com/platformio/platformio-core.git
synced 2025-11-02 15:11:37 +01:00
68 lines
2.3 KiB
ReStructuredText
68 lines
2.3 KiB
ReStructuredText
.. _ide_eclipse:
|
|
|
|
Eclipse
|
|
=======
|
|
|
|
The `Eclipse CDT (C/C++ Development Tooling) <https://eclipse.org/cdt/>`_
|
|
Project provides a fully functional C and C++ Integrated Development
|
|
Environment based on the Eclipse platform. Features include: support for
|
|
project creation and managed build for various toolchains, standard make
|
|
build, source navigation, various source knowledge tools, such as type
|
|
hierarchy, call graph, include browser, macro definition browser, code editor
|
|
with syntax highlighting, folding and hyperlink navigation, source code
|
|
refactoring and code generation, visual debugging tools, including memory,
|
|
registers, and disassembly viewers.
|
|
|
|
This software can be used with:
|
|
|
|
* all available :ref:`platforms`
|
|
* all available :ref:`frameworks`
|
|
|
|
Refer to the `CDT Documentation <https://eclipse.org/cdt/documentation.php>`_
|
|
page for more detailed information.
|
|
|
|
.. contents::
|
|
|
|
Integration
|
|
-----------
|
|
|
|
Project Generator
|
|
^^^^^^^^^^^^^^^^^
|
|
|
|
Since PlatformIO 2.0 you can generate Eclipse compatible project using
|
|
:option:`platformio init --ide` command. Please choose board type using
|
|
:ref:`cmd_boards` command and run:
|
|
|
|
.. code-block:: shell
|
|
|
|
platformio init --ide eclipse --board %TYPE%
|
|
|
|
Then:
|
|
|
|
1. Import this project via
|
|
``Menu: File > Import... > General > Existing Projects into Workspace > Next``
|
|
and specify root directory where is located :ref:`projectconf`
|
|
2. Open source file from ``src`` directory (``*.c, *.cpp, *.ino, etc.``)
|
|
3. Build project: ``Menu: Project > Build Project``.
|
|
|
|
|
|
Manual Integration
|
|
^^^^^^^^^^^^^^^^^^
|
|
|
|
* `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>`_
|
|
* `Improvised MBED FRDM-K64F Eclipse/PlatformIO Setup and Software Installation <http://thomasweldon.com/tpw/courses/embeddsp/p00pcFrdmK64_eclipsePlatformioSetup.html>`_
|
|
|
|
Screenshot
|
|
----------
|
|
|
|
.. 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
|
|
|
|
Examples
|
|
--------
|
|
|
|
"Blink" Project
|
|
^^^^^^^^^^^^^^^
|
|
|
|
Source code of `Eclipse "Blink" Project <https://github.com/platformio/platformio/tree/develop/examples/ide/eclipse>`_.
|