blob: 8cc9d86cf53442c4d6f8ebf221946e390e385cdc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
/****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing
**
** This file is part of Qt Creator
**
**
** GNU Free Documentation License
**
** Alternatively, this file may be used under the terms of the GNU Free
** Documentation License version 1.3 as published by the Free Software
** Foundation and appearing in the file included in the packaging of this
** file.
**
**
****************************************************************************/
/*!
\contentspage {Qt Creator Manual}
\previouspage creator-developing-android.html
\page creator-developing-baremetal.html
\nextpage creator-developing-bb10.html
\title Connecting Bare Metal Devices
You can connect bare metal devices to a development host to run and debug
applications on them from \QC using GDB or a hardware debugger. This enables
you to debug on small devices that are not supported by the generic remote
Linux device plugin. However, if the device does not have Qt libraries, you
need a fake Qt installation.
The bare metal device type accepts custom GDB commands that you specify in
the device options.
\image creator-baremetal-device.png "Bare Metal Device options"
To connect bare metal devices:
\list 1
\li Select \uicontrol Help > \uicontrol {About Plugins} > \uicontrol {Device Support} >
\uicontrol {Bare Metal} to enable the Bare Metal Device plugin.
\li Restart \QC to be able to use the plugin.
\li Select \uicontrol Tools > \uicontrol Options > \uicontrol Devices > \uicontrol Add >
\uicontrol {Bare Metal Device} > \uicontrol {Start Wizard}.
\li In the \uicontrol {GDB host} and \uicontrol {GDB port} fields, specify the host
name and port number to access the GDB server or hardware debugger.
\li In the \uicontrol {GDB commands} fields, specify custom commands for the
GDB server or hardware debugger.
\li To specify build settings:
\list 1
\li Open a project for an application you want to develop for the
device.
\li Select \uicontrol Projects > \uicontrol {Build & Run} > \uicontrol {Add Kit} to
add a kit for building and running applications on bare metal
devices.
\image creator-baremetal-kits.png "Bare Metal Device kits"
\endlist
\li Select \uicontrol Run to specify run settings.
Usually, you can use the default settings.
\endlist
*/
|