summaryrefslogtreecommitdiff
path: root/schulung_tools/notes/HOWTO-eclipse-cross-remote.txt
diff options
context:
space:
mode:
Diffstat (limited to 'schulung_tools/notes/HOWTO-eclipse-cross-remote.txt')
-rw-r--r--schulung_tools/notes/HOWTO-eclipse-cross-remote.txt27
1 files changed, 26 insertions, 1 deletions
diff --git a/schulung_tools/notes/HOWTO-eclipse-cross-remote.txt b/schulung_tools/notes/HOWTO-eclipse-cross-remote.txt
index 45c8d02..eee7325 100644
--- a/schulung_tools/notes/HOWTO-eclipse-cross-remote.txt
+++ b/schulung_tools/notes/HOWTO-eclipse-cross-remote.txt
@@ -16,6 +16,31 @@ File -> New -> C Project
Project -> Properties
C/C++ Build -> Settings
+===================
+ Create Connection
+===================
+
+open the new connection dialog:
+ Target -> New Connection
+ Generic Connection
+ Connection Name: myboard
+ Type: TCP
+ Host: (ip address of board)
+
+NOTE: The connection is activated immediately so the board must be online
+ and tcf-agent must be running on the board. The connection can be
+ controlled with:
+ Target -> Connect/Disconnect
+
+!!!
+!!! This "setup debug" section is outdated! It is better to cross-compile
+!!! the tcf-agent (https://www.eclipse.org/tcf/downloads.php) and setup
+!!! the debug connection like Yocto (HOWTO-eclipse-yocto.txt).
+!!!
+!!! NOTE: The '"Debugger" tab' part of the below instructions is still
+!!! valid and necessary!
+!!!
+
(setup debug)
Run -> Debug Configurations
"Create, manage, and run configurations" window
@@ -40,4 +65,4 @@ Run -> Debug Configurations
"Main" sub-tab
GDB debugger: /opt/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gdb
"Gdbserver Settings" sub-tab
- Port number: 12345
+ Port number: 2345