添加 MCU SDK

注意:在 开始进行 MCU开发之前 ,请访问Help >About Plugins ,并确保已启用 Qt for MCUs 已启用该插件。

要配置Qt Creator 与您的 MCU 开发板之间的连接:

  1. 转至Preferences >SDKs >MCU
  2. Qt for MCUs SDK中,指定您安装Qt for MCUs SDK 的目录路径。

    SDK 首选项中的“MCU”选项卡

  3. Targets supported by the Qt for MCUs SDK中,选择您的MCU开发板。
  4. 在“Requirements ”中,请确认已满足平台特定的要求。这取决于目标平台:
    • 对于Infineon 目标:
      • Green Hills Compiler for ARMIAR ARM Compiler 的路径。
      • Graphics Driver for Traveo T2G Cluster Series 路径。
      • Infineon Auto Flash Utility 路径。
    • 对于NXP 目标:
      • GNU ARM Embedded ToolchainIAR ARM Compiler 的路径。
      • MCUXpresso IDE 的安装路径。
      • 所选目标对应的Board SDK
      • 所选目标的 FreeRTOS Sources 针对所选目标的。
    • 对于Renesas 目标:
      • Green Hills Compiler 的路径。
      • Renesas Graphics Library 路径。
      • Renesas Flash Programmer 路径(可选)。
    • 对于 STM32 目标:
      • GNU ARM Embedded ToolchainIAR ARM Compiler 的路径。
      • STM32CubeProgrammer 的安装路径。
      • 所选目标对应的Board SDK
      • 所选目标的 FreeRTOS Sources 针对所选目标的。
  5. 选择“Automatically create kits for all available targets on start ”可使系统在下次启动Qt Creator 时自动创建套件。

    注意:选择 Create Kit ”可手动为该目标创建套件。

  6. 选择“Apply ”以保存首选项。

另请参阅 “启用和禁用插件”“如何:为 MCU 开发”“为 MCU 开发”以及 Qt for MCUs

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.