Set up target for platform OS.
Sets the QUL_OS target property to the contents of the
OS variable and performs additional setup based on it.
|No additional setup done.|
|Compiles and links the FreeRTOS library.|
|FREERTOS_CONFIG_DIR||Sets path containing a custom ||Using custom FreeRTOSConfig.h|
|FREERTOS_HEAP_POLICY||Select desired heap policy for FreeRTOS||Changing heap policies|
Note: This is a convenience command. If you want to do the OS setup manually, do not use it and instead set the QUL_OS target property directly, build and link FreeRTOS.
Note: It must be called for executable targets only
# 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(OS "FreeRTOS") set_target_properties(example_app PROPERTIES FREERTOS_CONFIG_DIR "freertosconfig/" FREERTOS_HEAP_POLICY "heap_5") app_target_setup_os(example_app)
This command was introduced in Qt Quick Ultralite 1.1.
See also FreeRTOS application build process.
Available under certain Qt licenses.
Find out more.