Difference between revisions of "Quick start guide"

From ERIKA WIKI
Jump to: navigation, search
(Starting RT-Druid)
Line 20: Line 20:
  
 
= Starting RT-Druid =
 
= Starting RT-Druid =
* Launching Eclipse
+
 
* Select a workspace
+
* Double-Click on '''eclipse.exe''' application located into ''eclipse'' folder extracted from the RT-Druid Package and than the workspace selection window will appear as shown the following figure:
 +
 
 +
[[File:Arduino tutorial 1.png|thumb|center|Figure 1: RT-Druid Eclipse IDE workspace selection.]]
 +
 
 +
* Browse the File-System to select ''Workspace'' folder and then click on the ''OK'' button to let the RT-Druid Eclipse IDE start as shown in the following figure:
 +
 
 +
[[File:Arduino tutorial 2.png|thumb|center|Figure 2: RT-Druid Eclipse IDE welcome.]]
 +
 
 +
* Click on ''Welcome tab-sheet close'' button to show the default RT-Druid Eclipe IDE C/C++ perspective as shown in the following figure:
 +
 
 +
[[File:Arduino tutorial 3.png|thumb|center|Figure 3: RT-Druid Eclipse IDE C/C++ perspective.]]
  
 
= RT-Druid Preferences =
 
= RT-Druid Preferences =

Revision as of 11:11, 22 December 2017

Prerequisites

The following is the list of software that should be already be installed in your system before installing ERIKA v3:

  • Java
    • for running Eclipse
  • Cygwin
    • for the UNIX make tool (and optionally Doxygen)
  • Doxygen
    • for the automatic documentation
  • target compiler (depending on the architecture)

Downloading ERIKA v3 and RT-Druid

  • RT-Druid can be downloaded using the download web page
  • To download RT-Druid, you have to accept the RT-Druid and the ERIKA v3 licenses
    • The ERIKA v3 license is a GPL v2, whereas the RT-druid license is a proprietary license that allows you to use the provided version of RT-Druid at no cost
  • Here is possible to find more details about the release scheduling and build numbers of RT-Druid packaging.

Installing RT-Druid

RT-Druid is provided as a compressed archive, which can be unpacked in your user directories. On Windows machines, we typically unpack the tool under C:\Evidence\versionnumber, where 'versionnumber' is the build number.

Starting RT-Druid

  • Double-Click on eclipse.exe application located into eclipse folder extracted from the RT-Druid Package and than the workspace selection window will appear as shown the following figure:
Figure 1: RT-Druid Eclipse IDE workspace selection.
  • Browse the File-System to select Workspace folder and then click on the OK button to let the RT-Druid Eclipse IDE start as shown in the following figure:
Figure 2: RT-Druid Eclipse IDE welcome.
  • Click on Welcome tab-sheet close button to show the default RT-Druid Eclipe IDE C/C++ perspective as shown in the following figure:
Figure 3: RT-Druid Eclipse IDE C/C++ perspective.

RT-Druid Preferences

  • RT-Druid Generator can be configured, as example, to use a specific path for the AVR8 compiler.
This configuration is done using properties, that can be set as explained here

RT-Druid Project

  • Where to create a new project
  • Step-by-step creation of a projet (select Cygwin, name, template)

Building a project

  • How to build / clean a project

Anatomy of a ERIKA v3 Project

  • explain the directories
  • explain the role of each directory / main files
  • check the auto-generated documenattion...

Per Architecture tutorials

  • list of the available tutorials (AVR8)