针对Bare Metal 设备进行开发
创建开发套件,利用计算机上安装的Bare Metal 工具链构建应用程序,并在已连接的Bare Metal 设备上运行和调试这些应用程序。
使用 GDB 或硬件调试器,在不受远程 Linux 设备插件支持的小型设备上运行和调试应用程序。
注意:需启用 Bare Metal 插件才能使用该功能。
在计算机上安装Bare Metal 工具链,用于为Bare Metal 设备构建应用程序。将设备连接到计算机,以便在设备上运行和调试应用程序。
以下工具链支持应用程序的构建:
- GCC:Microchip Technology(AVR、AVR32、PIC16、PIC32)、NXP Semiconductors(ColdFire、M68K)、Texas Instruments(MSP430)、 National Semiconductor(CR16C)、Renesas Electronics(M32R、M32C、RL78、RX、SuperH、V850)、Tensilica XTENSA(ESP8266、ESP32)、RISC-V,Arm™
- IAR EW:Microchip Technology(AVR、AVR32)、NXP Semiconductors(ColdFire、M68K)、德州仪器(MSP430)、National Semiconductor(CR16C)、Renesas Electronics(78K、M16/R8C、 M32C、R32C、RH850、RL78、RX、SuperH、V850)、意法半导体(STM8)、8051、RISC-V、Arm
- Keil:Arm 、C51(8051)、C251(80251)、C166(C16x、XC16x)
- SDCC:意法半导体(STM8)、8051
“裸机”设备类型支持在设备首选项中指定的自定义 GDB 命令。您可以指定在使用特定调试服务器提供商连接时要执行的命令。
调试服务器提供商
使用 GDB 时,支持以下调试服务器提供商:
ST-Link 和 J-Link 调试服务器提供程序可与uVision IDE 配合使用。
若要使用调试服务器提供程序连接到裸机设备,请转至“Preferences ” > “Devices ” > Bare Metal 并选择“Add ”。
可用的设置取决于调试服务器提供程序。
另请参阅 “添加开发套件”、“启用和禁用插件”以及“操作指南:为Bare Metal 进行开发”。
Copyright © The Qt Company Ltd. and other contributors. 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.