Connecting Bare Metal Devices
You can connect bare metal devices to a development host to run and debug applications on them from Qt Creator 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.
To connect bare metal devices:
- Select Help > About Plugins > Device Support > Bare Metal to enable the Bare Metal Device plugin.
- Restart Qt Creator to be able to use the plugin.
- Select Tools > Options > Devices > Add > Bare Metal Device > Start Wizard.
- In the GDB host and GDB port fields, specify the host name and port number to access the GDB server or hardware debugger.
- In the GDB commands fields, specify custom commands for the GDB server or hardware debugger.
- To specify build settings:
- Open a project for an application you want to develop for the device.
- Select Projects > Build & Run > Add Kit to add a kit for building and running applications on bare metal devices.
- Select Run to specify run settings.
Usually, you can use the default settings.
© 2015 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.