<
From version < 7.1 >
edited by aas2
on 2017/08/11 15:21
To version < 10.1 >
edited by aas2
on 2017/08/11 15:41
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Parent
... ... @@ -1,0 +1,1 @@
1 +Project Creation, Initialization and Launch (Prom)
Content
... ... @@ -12,7 +12,7 @@
12 12  
13 13  If you want to learn the SCCharts langugage first, you can follow these links:
14 14  
15 -* [[Introduction to SCCharts>>doc:SCCharts]]
15 +* [[Introduction to SCCharts>>doc:SCCharts (pre 1\.0)]]
16 16  * [[The Textual SCCharts Language SCT>>doc:Textual SCCharts Language SCT]]
17 17  * [[SCCharts Examples>>doc:Examples]]
18 18  
... ... @@ -29,7 +29,7 @@
29 29  
30 30  There is an Eclipse plugin for Arduino, which makes it easy to create and deploy projects and to use the IDE features of the C/C++ Development Tools (CDT) when programming Arduino.
31 31  
32 -You have to install the plugin manually via **Help > Install new Software... **. Use the following update site: [[http:~~/~~/eclipse.baeyens.it/nightly>>url:http://eclipse.baeyens.it/nightly||shape="rect"]]
32 +You have to install the plugin manually via **Help > Install new Software... **. Use the following update site: [[http:~~/~~/eclipse.baeyens.it/update/V4/nightly>>url:http://eclipse.baeyens.it/update/V4/nightly||shape="rect"]]
33 33  
34 34  The installation might take a few minutes because it will install the Arduino Tools as well as required software such as the CDT. Furthermore it will download the newest version of the Arduino software and libraries.
35 35  
... ... @@ -81,11 +81,17 @@
81 81  
82 82  === Build the project: ===
83 83  
84 -After the modeling is done, the project can be built. Select //Project > Build Project//. This will create a new folder //kieler-gen// with the compiled model file. Further the wrapper code is processed. After the build finished sucessfully, the ino file for the project has been updated with the new wrapper code for the model, and thus the project can be deployed to the Arduino board. The Eclipse Arduino Plugin provides an upload button for this task in the toolbar.
84 +After the modeling is done, the project can be built. Select //Project > Build Project//. This will create a new folder //kieler-gen// with the compiled model file. Further the wrapper code for the model is processed. After the build finished sucessfully, the ino file for the project has been updated with the new wrapper code for the model, and thus the project can be deployed to the Arduino board. The Eclipse Arduino Plugin provides an upload button for this task in the toolbar.
85 85  
86 +==== Excluding the simulation folder from the CDT build ====
87 +
88 +A simulation of models is created as part of a build inside //kieler-gen/sim/bin//. The files inside the //sim// folder are compiled separately and should not be compiled using the CDT. Otherwise errors will occur, for example because every simulation has its own main function and the CDT expects only one for the project.
89 +
90 +Thus the folder //kieler-gen/sim// has to be excluded from the CDT build. Therefore select the folder and do Right Click > Resource Configurations > Exclude From Build.
91 +
86 86  === Simulating the model ===
87 87  
88 -A simulation of models is created as part of a build inside //kieler-gen/sim/bin//. To use these simulations, first change to the Simulation Perspective, which provides new buttons in the toolbar. The executables in the //bin// folder can then be launched via //Right Click > KIELER Simulation//. The output of a running simulation can be seen in the Data Pool View.
94 +To use the simulation inside the folder //kieler-gen/sim/bin//, first change to the Simulation Perspective, which provides new buttons in the toolbar. The executables in the //bin// folder can then be launched via //Right Click > KIELER Simulation//. The output of a running simulation can be seen in the Data Pool View.
89 89  
90 90  === Available Wrapper Code Snippets ===
91 91  
... ... @@ -344,3 +344,16 @@
344 344  )))|(((
345 345  Go to the project properties and select //Default// in the field //Upload Protocol// (Right click on project > Properties > Arduino > Arduino Board Selection)
346 346  )))
353 +|(% colspan="1" %)(% colspan="1" %)
354 +(((
355 +The sim folder is not excluded from the CDT build
356 +)))|(% colspan="1" %)(% colspan="1" %)
357 +(((
358 +Problem markers on files inside the folder //kieler-gen/sim//
359 +)))|(% colspan="1" %)(% colspan="1" %)
360 +(((
361 +The CDT tries to compile the simulation of models as part of a build, which causes problems.
362 +)))|(% colspan="1" %)(% colspan="1" %)
363 +(((
364 +Select the sim folder and do Right Click > Resource Configurations > Exclude From Build
365 +)))
Screenshot_20160509_125654.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +66.3 KB
Content
lejos_eclipse_plugin.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +77.4 KB
Content
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -32145474
1 +16810554
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/32145474/Arduino and SCCharts
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/16810554/Arduino and SCCharts