summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2009-08-25 17:35:28 +0200
committerhjk <qtc-committer@nokia.com>2009-08-25 17:36:31 +0200
commitf137bd3b83dbb57e029a4bdd58e8dc7b34934d39 (patch)
treeeb1e61b41f71dc227c87fb52d06fd38506ef03ae
parent9af1a0a79348c750e72120eb791cde78c0dccd78 (diff)
downloadqt-creator-f137bd3b83dbb57e029a4bdd58e8dc7b34934d39.tar.gz
debugger: add the wiki text to setup TRK on Linux/Bluetooth
-rw-r--r--tests/manual/trk/README22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/manual/trk/README b/tests/manual/trk/README
index e925e06510..c6ce19808e 100644
--- a/tests/manual/trk/README
+++ b/tests/manual/trk/README
@@ -19,3 +19,25 @@ To do:
- setting breakpoints by filename:line
- signaling of stopped/single step end. SIGTRAP? SIGSTOP?
- run it against the red brick
+
+
+Setting up TRK on Linux with Bluetooth
+
+Enter the following commands in a terminal (all as root, adjust device
+permissions as required to work as user):
+
+
+sdptool add SP # announce Serial Port Profile via Service Discovery Protocol
+sudo mknod /dev/rfcomm0 c 216 0 # Creates a Bluetooth Serial Device
+sudo chmod ugo+rw /dev/rfcomm0 # Give permissions)
+
+rfcomm listen /dev/rfcomm0 1 $PWD/trklauncher -v -f {}
+
+#This should print the Trk/CPU versions. The option -f tells the command to
+#disable the serial frames message encapsulation for BlueTooth.
+
+#The same with the debug adapter:
+
+rfcomm listen /dev/rfcomm0 1 $PWD/run.pl -af -av -w {}
+
+#Important options: -w wait for adapter, -af omit serial frame.