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. QUL_OS variable provided by the platform package is used to determine which OS is being used.

Additional settings for FreeRTOS

VariableDescriptionMore info
QUL_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

# If QUL_OS is not set, "baremetal" is used by default
app_target_setup_os(example_app)
set_target_properties(example_app PROPERTIES
                      QUL_FREERTOS_HEAP_POLICY "heap_5")
app_target_setup_os(example_app)

See also FreeRTOS application build process.

Available under certain Qt licenses.
Find out more.