You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/WebContent/fragments/faq/troubleshooting.html
-44Lines changed: 0 additions & 44 deletions
Original file line number
Diff line number
Diff line change
@@ -95,39 +95,7 @@ <h2>Trouble shooting</h2>
95
95
<accordion-groupheading="I can not cancel the upload to the Arduino board.">
96
96
97
97
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-groupheading="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 <ahref="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 "Resource configurations"->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
-
<imgalt="The include properties after project creation" src="http://iloapp.baeyens.it/data/_gallery//public/1/1328707813_resized.png"><br>
113
-
<imgalt="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
-
<imgalt="The include properties after project creation" src="http://iloapp.baeyens.it/data/_gallery//public/1/1328707814_resized.png"><br>
117
-
<imgalt="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
-
<imgalt="The include properties after project creation" src="http://iloapp.baeyens.it/data/_gallery//public/1/1328707815_resized.png"/>
121
-
<imgalt="The include properties after project creation" src="http://iloapp.baeyens.it/data/_gallery//public/1/1328707818_resized.png"/><br>
122
98
123
-
Note that the images above show it for "GNU C" but the same counts for "GNU C++". 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-groupheading="The indexer states Serial does not exist.">
128
-
This is actually the same problem as <ahref="#bugs">Eclipse tells me there are bugs in my code but it compiles ok.</a><br>
129
-
<br>
130
-
</accordion-group>
131
99
<accordion-groupheading="I can't download the plugin. Is your site down?">
132
100
<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>
133
101
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>
159
127
<br>$ sudo chmod 777 /var/lock<br>
160
128
for more info see <ahref="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>
161
129
</accordion-group>
162
-
<accordion-groupheading="How can I find the latest version when installing?">
163
130
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
-
<imgalt="The settings to find the latestversion" src="http://iloapp.baeyens.it/data/_gallery//public/1/134852263644133400_resized.png?width=575&height=540">
Copy file name to clipboardExpand all lines: website/WebContent/fragments/how_to/add_library.md
+10-15Lines changed: 10 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -8,38 +8,33 @@ In your project there is a subfolder called libraries. This folder contains the
8
8
Adding a library to this folder is what we call importing a library.
9
9
It is very easy to import a library into your project.
10
10
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**.
12
12
13
-
V4
13
+
Use the include statement
14
14
-----
15
15
Simply add the include statement to your code.
16
16
Save your file.
17
17
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".)
18
18
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
+
20
22
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"...
29
23
30
-
V2 and V3
24
+
Import manually
31
25
-----
32
26
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".
33
28
Select the project you want the library to add to. In the main menu select "Arduino->add a library to the selected project".
34
29
A dialog box will pop up showing all available libraries.
**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.
16
16
**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)
Copy file name to clipboardExpand all lines: website/WebContent/fragments/learn/compile_options.md
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,14 @@ Compile Options
2
2
========
3
3
If you say:
4
4
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.
6
6
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".
0 commit comments