C
Getting started on NXP (Zephyr)
Overview
This topic provides all the necessary information to get started on the NXP platforms supported by Qt Quick Ultralite.
Note: These instructions apply when you are working with NXP targets that run on Zephyr. For information on how to get started with NXP targets that run on BareMetal, FreeRTOS or Linux, see Getting started on NXP (BareMetal and FreeRTOS) and Getting started on NXP (Linux).
Compatible versions
Qt Quick Ultralite for Zephyr supports Zephyr 4.4.0 on the NXP i.MX RT1060-EVKB and i.MX RT1064-EVK.
Building the application
Qt Quick Ultralite integrates with Zephyr as a west module. For the prerequisites, the west workspace and application setup, and the build, flash and debug commands, see Using Qt Quick Ultralite with Zephyr.
The board-specific parts, such as the display shield, the required Kconfig options, and the flashing and debugging commands, are documented on the board pages:
- Using the Qt Quick Ultralite Zephyr module on NXP IMXRT1060-EVKB
- Using the Qt Quick Ultralite Zephyr module on NXP IMXRT1064-EVK
Board-specific information
The currently supported NXP targets running on Zephyr are listed below. For more information on all the targets supported by Qt Quick Ultralite, see Supported target boards and development hosts.
Tier 1: Reference targets
| Hardware board | MCU | Compiler | Operating system(s) | Supported Zephyr version |
|---|---|---|---|---|
| MIMXRT1064-EVK | MIMXRT1064DVL6A | Zephyr SDK 1.0.1 (arm-zephyr-eabi GCC) | Zephyr | 4.4.0 |
Tier 2: Verified targets
| Hardware board | MCU / MPU | Compiler | Operating system(s) | Supported Zephyr version |
|---|---|---|---|---|
| MIMXRT1060-EVKB | MIMXRT1060DVL6B MCU | Zephyr SDK 1.0.1 (arm-zephyr-eabi GCC) | Zephyr | 4.4.0 |
Resource cache policy
By default, an application's resource data is copied to SDRAM on startup. In order to retain these resources in flash and not load them to RAM on startup, add the following QmlProject option to your qmlproject file:
MCU.Config {
resourceCachePolicy: "NoCaching"
}Alternatively, it can be enabled only for individual images like this:
ImageFiles {
files: [
"big/button.png"
]
MCU.resourceCachePolicy: "NoCaching"
}Available under certain Qt licenses.
Find out more.