Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
eclipse [2017/01/25 16:11] arthur |
eclipse [2021/01/08 15:57] (current) |
||
---|---|---|---|
Line 3: | Line 3: | ||
</ | </ | ||
- | I first want to thank [[http:// | + | I first want to thank [[http:// |
- | = Install Eclipse with C/C== and GNU Support | + | = Install Eclipse with C/C++ and GNU Support |
To get started, you need to install Eclipse. To this you will add support for the GNU tool chain used by the Smoothie project. | To get started, you need to install Eclipse. To this you will add support for the GNU tool chain used by the Smoothie project. | ||
- | * Eclipse is a Java application and [[http:// | + | * Eclipse is a Java application and [[http:// |
* Go to http:// | * Go to http:// | ||
* Now startup that shiny new version of Eclipse by executing the Eclipse binary at the root of the decompressed Eclipse files. There is no separate install process required for Eclipse. | * Now startup that shiny new version of Eclipse by executing the Eclipse binary at the root of the decompressed Eclipse files. There is no separate install process required for Eclipse. | ||
Line 30: | Line 30: | ||
= Create Eclipse Project for Smoothie | = Create Eclipse Project for Smoothie | ||
* Open a shell and change into the **workspace directory** using **cd** | * Open a shell and change into the **workspace directory** using **cd** | ||
- | * In this, check out the Smoothieware source repository as described in [[http:// | + | * In this, check out the Smoothieware source repository as described in [[http:// |
* If you wish, you can switch between branches using the git eclipse plugin later | * If you wish, you can switch between branches using the git eclipse plugin later | ||
* In the **workspace directory** there should be a directory named **Smoothie** now. It will be our the **project directory** | * In the **workspace directory** there should be a directory named **Smoothie** now. It will be our the **project directory** | ||
Line 84: | Line 84: | ||
**If the Indexer does not find the Types of the mbed system (e.g. SDCard, USB, DFU, SDFAT, ... in main.cpp), try this: | **If the Indexer does not find the Types of the mbed system (e.g. SDCard, USB, DFU, SDFAT, ... in main.cpp), try this: | ||
- | @@[[@@This]|seems to be not necessary any more, i keep it here for testing@@]@@** | + | @@[[@@This|seems to be not necessary any more, i keep it here for testing@@]]@@** |
* Goto project properties | * Goto project properties | ||
* Click the arrow to left of **C/C++ General** item in left pane to expand its sub-items. | * Click the arrow to left of **C/C++ General** item in left pane to expand its sub-items. | ||
Line 104: | Line 104: | ||
* To clean select **Project-> | * To clean select **Project-> | ||
* The **Console** should should show: | * The **Console** should should show: | ||
- | [[code]] | + | <code> |
< | < | ||
make clean | make clean | ||
Line 116: | Line 116: | ||
< | < | ||
- | [[/code]] | + | </code> |
* Click on the hammer icon in the main tool bar | * Click on the hammer icon in the main tool bar | ||
* the **Console** view should show: | * the **Console** view should show: | ||
- | [[code]] | + | <code> |
< | < | ||
make all | make all | ||
Line 138: | Line 138: | ||
< | < | ||
- | [[/code]] | + | </code> |
**If you get many error markers when you open a file even when the project builds without complaints, try this: | **If you get many error markers when you open a file even when the project builds without complaints, try this: | ||
- | @@[[@@This]|seems to be not necessary any more, i keep it here for testing@@]@@** | + | @@[[@@This|seems to be not necessary any more, i keep it here for testing@@]]@@** |
* Goto project properties | * Goto project properties | ||
* Click the arrow to left of **C/C++ General** item in left pane to expand its sub-items. | * Click the arrow to left of **C/C++ General** item in left pane to expand its sub-items. |