Qt6 QML Book/Qt for MCUs/设置

Setup

设置

Qt for MCUs comes with support for a range of evaluation boards from companies such as NCP, Renesas, ST, and Infinion/Cypress. These are good for getting started and helps you try out the integration to the specific MCU. In the end, you will most likely end up tuning a specific platform definition to your specific hardware, e.g. to configure the amount of RAM, FLASH and screen configuration.

​Qt for MCU支持NCP、Renesas、ST和Infinion/Cypress等公司的一系列评估板。这些有助于入门,并帮助您尝试与特定MCU的集成。最后,您很可能会将特定的平台定义调整到特定的硬件,例如配置RAM、闪存和屏幕配置的数量。

In addition to supporting multiple MCUs out of the box, Qt for MCUs also support running either on FreeRTOS or directly on the bare metal, i.e. without an operating system. As Qt for MCUs focuses on the graphical front-end part of things, there are no classes for filesystems and such. All this has to come from the underlaying system. Hence, if you need support for more complex feature, FreeRTOS is one option.

除了支持多个现成的MCU外,Qt for MCU还支持在FreeRTOS上或直接在裸机上运行,即不使用操作系统。由于Qt for MCU专注于图形前端部分,因此没有用于文件系统等的类。所有这些都必须来自底层系统。因此,如果您需要对更复杂功能的支持,FreeRTOS是一种选择。

When it comes to the development environment, various boards come with various compilers, so the Qt for MCUs setup will look a bit different depending on which MCU you target, as well as which compiler you choose. For instance, for the boards from ST, both GCC and IAR are supported, while for some other boards Green Hills MULTI Compiler is used. The officially supported development hosts from Qt's point of view are Linux (Ubuntu 20.04 LTS on x86_64) or Windows (Windows 10 on x86_64). For Windows, please notice that the MSVC compilers supported are the 2017 and 2019 editions - not the very latest. Make sure to follow the latest setup instructions on qt.io to get a working environment.

​在开发环境中,不同的板卡都有不同的编译器,因此Qt for MCU的设置看起来会有点不同,这取决于您针对的是哪个MCU,以及您选择的编译器。例如,对于ST的板,GCC和IAR都受支持,而对于其他一些板,则使用Green Hills MULTI编译器。从Qt的角度来看,官方支持的开发主机是Linux(x86_64上的Ubuntu 20.04 LTS)或Windows(x86_64上的Windows 10)。对于Windows,请注意支持的MSVC编译器是2017版和2019版,而不是最新版本。确保遵循qt上的最新设置说明。我想要一个工作环境。

Once you have setup your environment, you can find the supported boards as Kits as well as under Devices - MCU under the Tools - Options... menu item in Qt Creator.

一旦你设置好你的环境,你可以在工具选项下的设备-MCU下找到支持的板和套件。。。Qt Creator中的菜单项。

 

TIP

If you do not find the MCUs tab under Tools, make sure that the Qt for MCUs plugins (McuSupport and BaremetalSupport) are available and activated under Help - About Plugins....

如果在“工具”下找不到MCU选项卡,请确保Qt for MCU插件(McuSupport和BaremetalSupport)在“帮助-关于插件…”下可用并激活。。。。

Links

链接

Further reading at qt.io:

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值