C

app_target_setup_os

Set up target for platform OS.

Synopsis

app_target_setup_os(<target>)

Description

Sets include paths to contain platform specific locations. OS variable provided by the platform package is used to determine which OS is being used.

Additional settings for FreeRTOS

VariableDescriptionMore info
FREERTOS_HEAP_POLICYSelect desired heap policy for FreeRTOSChanging heap policies

Note: This is a convenience command. If you want to do the OS setup manually, build and link FreeRTOS to your application and set up the tasks to your needs.

Note: It must be called for executable targets only

Examples

# Depend on OS being the default or being set externally.
# If OS is not set "BareMetal" is used by default
app_target_setup_os(example_app)
set_target_properties(example_app PROPERTIES
                      FREERTOS_HEAP_POLICY "heap_5")
app_target_setup_os(example_app)

Since

This command was introduced in Qt Quick Ultralite 1.1.

See also FreeRTOS application build process.

Available under certain Qt licenses.
Find out more.