C

MCU.Config.platformByteSwapResourceStorageSections

A list of the resource storage sections that should be byte swapped, meaning every two bytes in the generated resource binary file are swapped.

Description

Byte swapping is needed when using the Infineon Auto Flash utility to flash the HyperFlash NOR Flash on the Infineon TRAVEO T2G CYT4DN board, since the utility has an issue where every two bytes of the data that gets written to flash are swapped. We have to compensate for this by swapping every two bytes in the resource binary file, so that they end up correctly in flash.

Note: This property must be set in BoardDefaults.qmlprojectconfig. See the Qt Quick Ultralite Platform Porting Guide for more information.

Usage

This property is accepted in BoardDefaults.qmlprojectconfig for the target platform. It takes a string, and the default value is "QulResourceDataInExternalFlash".

Code example:

MCU.Config {
    platformByteSwapResourceStorageSections: "QulResourceDataInExternalFlash"
}

Since

This property was introduced in Qt for MCUs 2.7.

Available under certain Qt licenses.
Find out more.