Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
en:general_information:eclipse_new [2016/01/07 15:05] – fixed pictures 4 & 7 ernst | en:general_information:eclipse_new [2018/07/25 17:10] – fixed prerequisites liedmann | ||
---|---|---|---|
Line 22: | Line 22: | ||
* Installed PTXdist | * Installed PTXdist | ||
* Installed OSELAS toolchain | * Installed OSELAS toolchain | ||
- | * Installed | + | * Installed |
=== Target === | === Target === | ||
* Target system with operating RootFS | * Target system with operating RootFS | ||
* gdbserver | * gdbserver | ||
- | * OpenSSH with sshd and sftpd (disable dropbear in ptxdist menu and build a new image) | + | * OpenSSH with sshd and sftpd |
* User with password (needed for ssh remote access) | * User with password (needed for ssh remote access) | ||
* Network connection to development host | * Network connection to development host | ||
Line 38: | Line 38: | ||
- | For correct execution of Eclipse with the OSELAS toolchain you have to create two files in your home folder\\ | + | For the correct execution of Eclipse with the OSELAS toolchain you have to create two files in your home folder\\ |
1. **setup_tqma6x** | 1. **setup_tqma6x** | ||
Line 97: | Line 97: | ||
* Cross compiler path: **/ | * Cross compiler path: **/ | ||
- | {{: | + | {{: |
Finally click on **Finish**, now the environment for our new project is created. | Finally click on **Finish**, now the environment for our new project is created. | ||
Line 109: | Line 109: | ||
enter a name for the **Source file** in the popup windows (including file extension). | enter a name for the **Source file** in the popup windows (including file extension). | ||
In this case the **Source file** is named **" | In this case the **Source file** is named **" | ||
- | {{: | ||
+ | {{: | ||
Once the source file has been generated, it can be filled with code, in this tutorial, it is a simple "Hello World" application. | Once the source file has been generated, it can be filled with code, in this tutorial, it is a simple "Hello World" application. | ||
Line 229: | Line 229: | ||
**C/C%%++%% Application: | **C/C%%++%% Application: | ||
**Project: | **Project: | ||
- | **Connection: | + | **Connection: |
- | **Remote Absolute File Path for C/C:** enter the path where the application will be copied and executed on the target | + | **Remote Absolute File Path for C/C:** enter the path where the application will be copied and executed on the target.\\ |
+ | **Commands to execute before application: | ||
- | {{: | + | {{: |
+ | |||
+ | After the command you want to execute you have to set the installation path of the application you want to debug and the port number, which you can find under Debug Configurations/ | ||
+ | |||
+ | {{: | ||
Select Process Launcher by clicking **Select other...** (marked with a red frame in the picture above) | Select Process Launcher by clicking **Select other...** (marked with a red frame in the picture above) | ||
Line 254: | Line 260: | ||
If the application requires consultation results on a Remote Shell (as is the case | If the application requires consultation results on a Remote Shell (as is the case | ||
- | | + | this tutorial because printf) can be enabled by selecting this view within the |
Display Selected Console options: | Display Selected Console options: | ||
- | |||
- | |||
- | <WRAP round important> | ||
- | |||
- | |||