Difference between revisions of "AVR8 - Arduino application build on Windows"

From ERIKA WIKI
Jump to: navigation, search
(Synopsys)
Line 1: Line 1:
 
= Synopsys =
 
= Synopsys =
This guide describes the how to build a first ERIKA Enterprise v3 application for [https://store.arduino.cc/arduino-uno-rev3 Arduino UNO] boards.
+
This guide describes the how to build and run a first ERIKA Enterprise v3 application for [https://store.arduino.cc/arduino-uno-rev3 Arduino UNO] boards.
  
 
= RT-Druid Eclipse IDE =
 
= RT-Druid Eclipse IDE =

Revision as of 19:39, 21 December 2017

Synopsys

This guide describes the how to build and run a first ERIKA Enterprise v3 application for Arduino UNO boards.

RT-Druid Eclipse IDE

  • 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 Template Project

  • Click on File->New->RT-Druid v3 Oil and C/C++ Project menu entry as shown in the following figure:
Figure 4: RT-Druid v3 Oil and C/C++ Project.
  • The RT-Druid C/C++ Project Wizard will open as shown in the following figure:
Figure 5: RT-Druid C/C++ Project Wizard.
  • Type the name of the the project in the Project name text-box: ArduinoEE3 for example.
  • Make sure the Cygwin GCC toolchain is selected and the click on the Next button.
  • The wizard will show the window to select a project template as shown in the following figure:
Figure 6: RT-Druid Project Template Wizard.
  • Click on Create a project using one of these templates check-box to let the Template Wizard to show the available templates as shown in the following figure:
Figure 7: RT-Druid Available Templates Wizard.
  • Expand AVR8 and Arduino Uno entries and choose a desired template to instatiate: "Full Demo 2" for example.
  • Finally, click on Finish butto to instatiate an RT-Druid Eclipse project from a choosen template as shown in the following figure:
Figure 8: RT-Druid Eclipse Project.

Arduino UNO Serial Port

  • Connect the Arduino UNO board to the PC via USB cable.
  • Open the Device Management of Windows executing (by Double-Click) the devmgmt.msc command located in C:\WINDOWS\System32 as shown in the following figure:
Figure 9: Device Management.
  • The Device Management window will open.
  • Expand the Port (COM and LTP) entry to find the Arduino Uno COM port (COM3 for example) as as shown in the following figure:
Figure 10: Arduino Uno COM port.

RT-Druid Configuration

  • Click on Window->Preferences menu entry as shown in the following figure:
Figure 11: RT-Druid Eclipse Preferences.
  • The RT-Druid Eclipse Preferences window will open as shown in the following figure:
Figure 12: RT-Druid Eclipse Preferences OIL.
  • Click the Generator Properties entry in the OIL section of the left panel to show the RT-Druid Generator Properties to configure.
  • Double-Click on the Arduino SDK Property to configure the Arduino SDK installation path as shown in the following figure:
Figure 13: RT-Druid Arduino SDK Path Property.
  • Browse th File-System to select the Arduino SDK path (E.g. C:\Program Files (x86)\Arduino) and then click OK button.
  • Double-Click on the Arduino Serial Port Property to configure the Arduino Serial Port as shown in the following figure:
Figure 14: RT-Druid Arduino Serial Port Property.
  • Type the COM Port where the Arduino UNO Board is connected (E.g. COM3) and then click OK button.
  • Double-Click on the Arduino Serial Baudrate Property to configure the Arduino Serial Baudrate as shown in the following figure:
Figure 15: RT-Druid Arduino Serial Baudrate Property.
  • Type 115200 (the Arduino UNO Bootloader Baudrate) and then click OK button.
  • Finally, click the OK button to confirm the configuration properties as shown in the followin figure:
Figure 16: RT-Druid Configured Properties.


Additional Notes

T.B.D.