Skip to content

Commit 5e6c420

Browse files
author
jantje
committed
#1022 still lots to do
1 parent 784ae25 commit 5e6c420

File tree

9 files changed

+25
-113
lines changed

9 files changed

+25
-113
lines changed

website/WebContent/fragments/faq/troubleshooting.html

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -95,39 +95,7 @@ <h2>Trouble shooting</h2>
9595
<accordion-group heading="I can not cancel the upload to the Arduino board.">
9696

9797
Someone reported that pressing the cancel button during upload to Arduino locks the com port. Even if the upload is not working. To solve the lock problem in windows unplug the Arduino -after all connections to the com port have been closed -from your pc and replug.<br>
98-
</accordion-group>
99-
<accordion-group heading="Deleting a library corrupts my project.">
100-
This should be fixed from Mars onwards. <br>
101-
<br>
102-
<br>
103-
To help to fix this bug please vote at <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=372807">bugzille CDT project</a> (You need an account -no charge)<br>
104-
This problem should not occur in V2. <br>
105-
<h3>To work around</h3>
106-
Before you delete the library: Right click the library. Select &quot;Resource configurations&quot;-&gt;exclude from build. Select all chackboxes (normally you only have release).
107-
Select OK.<br>Now the library you want to delete will be the last entry in your project and is grayed out.
108-
<br>You can safely delete it now.
109-
<h3>To reproduce do the following:</h3>
110-
Create a Arduino sketch project using the wizard.
111-
<br>Look at the project properties. They should look like the image below<br>
112-
<img alt="The include properties after project creation" src="http://iloapp.baeyens.it/data/_gallery//public/1/1328707813_resized.png"><br>
113-
<img alt="The include properties after project creation" src="http://iloapp.baeyens.it/data/_gallery//public/1/1328707816_resized.png"/>
114-
add a Arduino lirary to your Arduino sketch project.
115-
Look at the project properties. They should look like the image below<br>
116-
<img alt="The include properties after project creation" src="http://iloapp.baeyens.it/data/_gallery//public/1/1328707814_resized.png"><br>
117-
<img alt="The include properties after project creation" src="http://iloapp.baeyens.it/data/_gallery//public/1/1328707817_resized.png"/>
118-
Delete the Arduino Library
119-
<br>The project properties should look like any of the 2 above but they look like
120-
<img alt="The include properties after project creation" src="http://iloapp.baeyens.it/data/_gallery//public/1/1328707815_resized.png"/>
121-
<img alt="The include properties after project creation" src="http://iloapp.baeyens.it/data/_gallery//public/1/1328707818_resized.png"/><br>
12298

123-
Note that the images above show it for &quot;GNU C&quot; but the same counts for &quot;GNU C++&quot;. Also note this is a pre V2 setup. From V2 onwards some names are different.<br>
124-
First deleting all the incorrect values and then setting the correct values back solves the issue.<br>
125-
<br>
126-
</accordion-group>
127-
<accordion-group heading="The indexer states Serial does not exist.">
128-
This is actually the same problem as <a href="#bugs">Eclipse tells me there are bugs in my code but it compiles ok.</a><br>
129-
<br>
130-
</accordion-group>
13199
<accordion-group heading="I can't download the plugin. Is your site down?">
132100
<p>update: When downloading the product: My web site provider stops downloads. Use a browser that restarts where it stopped downloading (like firefox or internet explorer not chrome)</p>
133101
As you are reading this: "obviously my site is not down". The download via Eclipse is standard HTTP just like this page is to the browser. If you can access this page you can download the plugin.<br>
@@ -159,17 +127,5 @@ <h3>To reproduce do the following:</h3>
159127
<br>$ sudo chmod 777 /var/lock<br>
160128
for more info see <a href="http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1211165807/6">http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1211165807/6</a>
161129
</accordion-group>
162-
<accordion-group heading="How can I find the latest version when installing?">
163130

164-
To find the latest version when installing a Eclipse plugin. In the "install new software" dialog make sure
165-
<ul><li>
166-
only the latest version is checked
167-
</li><li>
168-
Group items by category is not checked
169-
</li><li>
170-
hide items that are already installed is not checked
171-
</li></ul>
172-
Below is an example of the settings. 1.2.5.5 is probably not the latest version.<br>
173-
<img alt="The settings to find the latestversion" src="http://iloapp.baeyens.it/data/_gallery//public/1/134852263644133400_resized.png?width=575&height=540">
174-
</accordion-group>
175131
</accordion>

website/WebContent/fragments/how_to/add_library.md

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,38 +8,33 @@ In your project there is a subfolder called libraries. This folder contains the
88
Adding a library to this folder is what we call importing a library.
99
It is very easy to import a library into your project.
1010

11-
Note that in all versions the libraries are linked; so changing library code changes the code for all your projects.
11+
Note that in all versions the libraries are linked; so **changing library code changes the code for all your projects**.
1212

13-
V4
13+
Use the include statement
1414
-----
1515
Simply add the include statement to your code.
1616
Save your file.
1717
The automatic library includer will import the library into your project and install the library if not yet installed (only if the library folder name is header - ".h".)
1818
You may have to wait a while before the indexer has indexed the source code and the library includer can kick in.
19-
The auto import and auto install can be disabled in windows->preferences->arduino settings.
19+
The auto import and auto install can be disabled in windows->preferences->arduino settings.
20+
Sometimes the includer imports unneeded libraries or libraries may no longer be needed. In this case you can delete the libraries folder or individual libraries. As it are all links the libraries are not deleted, only the links.
21+
2022

21-
V3
22-
-----
23-
Simply add the include statement to your code.
24-
Save your file.
25-
The automatic library includer will import the library into your project if the library is installed.
26-
You may have to wait a while before the indexer has indexed the source code and the library includer can kick in.
27-
The auto import can be disabled in windows->preferences->arduino settings.
28-
From V3 onwards all libraries are shown in one list. There is no longer the grouping of "arduino libs" "Arduino hardware libs"...
2923

30-
V2 and V3
24+
Import manually
3125
-----
3226

27+
If the includer does not find the library or you turned off "auto import libraries" in the preferences, you can add a library to a project using "import library".
3328
Select the project you want the library to add to. In the main menu select "Arduino->add a library to the selected project".
3429
A dialog box will pop up showing all available libraries.
35-
![import library](http://iloapp.baeyens.it/data/_gallery/public/1/137950377839940200_resized.png)
30+
![import library](http://eclipse.baeyens.it/img/import_libraries.png)
3631

3732

3833
Note: that in contrast to the arduino IDE you will still need to add the include directives to your ino file.
39-
Note: from march 2015 there is no more subsections (hardware/arduino/library) Al libraries are sorted alphabetically.
34+
4035

4136

4237
**Party success**
4338

4439
1. drink a beer
45-
2. [Become a patron of jantje](http://eclipse.baeyens.it/donate.html "thanks")
40+
2. [Support jantje](http://eclipse.baeyens.it/donate.html "thanks")

website/WebContent/fragments/how_to/change_arduino_bord.md

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,11 @@ It is actually easy:
66
Right click on the project and select properties.
77
In properties select Arduino.
88
Here you can change your Arduino settings.
9-
The dialog looks pretty much like the one in the sketch creation wizard.
9+
The dialog looks pretty much like the one in the sketch creation wizard.
1010

1111

12-
13-
14-
15-
16-
17-
18-
19-
![change Arduino board settings](http://iloapp.baeyens.it/data/_gallery/public/6/141807692282059000_resized.png)
12+
![change Arduino board settings](http://eclipse.baeyens.it/img/board_properties.png)
2013

2114
**Party success**
2215

23-
2. [Become a patron of jantje](http://eclipse.baeyens.it/donate.html "thanks")
16+
2. [Support jantje](http://eclipse.baeyens.it/donate.html "thanks")

website/WebContent/fragments/how_to/change_compilations_settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ In properties select Arduino.
1111
No select the compile options tab
1212
Here you can change your Arduino settings.
1313
The dialog looks pretty much like the one in the sketch creation wizard.
14-
![change Arduino board settings](http://iloapp.baeyens.it/data/_gallery/public/6/141807692324070200_resized.png)
14+
![change Arduino board settings](http://eclipse.baeyens.it/img/compile_settings.png)
1515
**Show all warnings** will set the warning level on 4. Note that this is the compiler warnings and not the indexer warnings. For indexer warnings please see the cdt documentation.
1616
**Use alternative size** command changes the command that is executed to calculate the size of the sketch at the end of the build. Note that this command will not make sense on all boards (FI the all sam boards)
1717
The other options seem pretty straightforward.
Lines changed: 2 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,11 @@
11
This section contains Detailed instructions on how to configure the Sloeber IDE.
22
===
33

4-
**V3 and later** fully auto-configures. There is no longer a need to configure Sloeber.
4+
**V3 and later** fully auto-configures. There is no longer a need to "configure" Sloeber.
5+
This means that Sloeber works "out of the box" for most cases. This does not mean there are not plenty of options to set.
56

67
**Party success**
78

89
1. drink a beer
910
2. [Become a patron of jantje](http://eclipse.baeyens.it/donate.html "thanks").
1011
.
11-
.
12-
.
13-
.
14-
.
15-
16-
17-
18-
Below is the configuration needed for older versions kept here for historical reasons.
19-
-
20-
This section assumes you have installed the Arduino Eclipse plugin or product and started it fine.
21-
**In V1 and V2 you need to specify which Arduino IDE you use**
22-
1. Start Eclipse that contains the plugin. c:/eclipse/Eclipse or c:/eclipse/sloeber for the product
23-
2. Open a workspace of your choice C:/workspace
24-
3. If needed close the welcome page
25-
4. open the preferences (windows -> preferences)
26-
5. in V1 open the section Arduino->Arduino
27-
6. In V2 open Arduino
28-
7. Fill it in like below (using the location of the Sloeber IDE c:/sloeber)
29-
8. Add the location of your private libraries.
30-
in V1 this looks like
31-
![V1](http://iloapp.baeyens.it/data/_gallery/public/1/134998877869708900_resized.png)
32-
in V2 this looks like
33-
![V2](http://iloapp.baeyens.it/data/_gallery/public/6/141798497248313500_resized.png)
34-
The newer version no longer uses RXTX so there is no longer a "test serial dll" button. If the button is there click it.
35-
V2 does not contain the option "use Arduino IDE tools in Eclipse".
36-
V2.2 fills in mosts fields automatically and adds a "private hardware path" folder.
37-
9. select OK to save the preferences
38-
39-
**in V1 and V2 you need to tell cdt you are using ino file**
40-
ino and pde files are a file extension created by Arduino and as such is not recognized as a C/C++ file.
41-
We need to tell Eclipse to treat ino and pde files as C/C++ file.
42-
To do so goto menu:window->preferences->C/C++->file types
43-
and add *.ino and *.pde as c/c++ files one by one using the new button.
44-
![file types](http://iloapp.baeyens.it/data/_gallery/public/1/1320784770_resized.png)
45-
46-
47-

website/WebContent/fragments/learn/compile_options.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@ Compile Options
22
========
33
If you say:
44

5-
>Hey I can change any compile option with the Arduino IDE 1.5 by simply changing the platform.txt file.
5+
>Hey I can change any compile option with the Arduino IDE 1.8 by simply changing the platform.txt file.
66
7-
Then I can only fully agree. However most people will find it very hard to change the platform.txt file. Moreover these settings are system wide where for most options (like defines) you want them at the level of the project.
7+
Then I can only fully agree, and this works in Sloeber as well.
8+
However most people will find it very hard to change the platform.txt file. Moreover these settings are system wide, where for most options (like defines) you want them at the level of the project.
9+
10+
Sloeber allows you to add content to the command line at the project level, without modifying the platform.txt file.
11+
As to my experience ([and as to others](https://stackoverflow.com/questions/15909788/how-does-gcc-behave-if-passed-conflicting-compiler-flags)) gcc takes the last option if there are conflicting options.
12+
This means you are likely able to "overwrite any option given by Arduino by simply adding it to the end of the command line".
13+
14+
![Compile options](http://eclipse.baeyens.it/img/compile_settings.png)
815

9-
The Arduino eclipse plugin allows you to add content to the command line at the project level, without modifying the platform.txt file.
10-
![image](http://iloapp.baeyens.it/data/_gallery/public/6/141807692324070200_resized.png)
11-
Moreover it also allows to set the warning level to full overwriting the Arduino default.
35.2 KB
Loading
37.6 KB
Loading
37.7 KB
Loading

0 commit comments

Comments
 (0)