C
qul_override_freertos_heap_size
Sets freeRTOS macro configTOTAL_HEAP_SIZE
from application's CMakeLists.txt
Synopsis
qul_override_freertos_heap_size(<target_name> [HEAP_SIZE])
Description
Overrides the default freeRTOS configTOTAL_HEAP_SIZE
macro, if the application needs custom heap size to be specified. This also overrides the linker symbol named __defaultTotalHeapSize
, with linker argument --defsym
for ARMGCC compiler and --config_def
for IAR compiler. __defaultTotalHeapSize
is required by heap measurement functions defined in the Qt Quick Ultralite Platform.
Options
The FreeRTOS total heap size value specified as a numeric value or an expression.
Examples
qul_override_freertos_heap_size(example_app "1024")
qul_override_freertos_heap_size(example_app "8 * 1024")
Since
This command was introduced in Qt Quick Ultralite 2.6.
Available under certain Qt licenses.
Find out more.