feat(os): add mqx for osal (#6191)

This commit is contained in:
Joseph Chen
2024-05-10 04:00:53 +08:00
committed by GitHub
parent b44bcaee17
commit d0c88f2769
11 changed files with 262 additions and 0 deletions

View File

@@ -800,6 +800,7 @@
* - LV_OS_CMSIS_RTOS2
* - LV_OS_RTTHREAD
* - LV_OS_WINDOWS
* - LV_OS_MQX
* - LV_OS_CUSTOM
*/
#define LV_USE_OS LV_OS_PTHREAD
@@ -823,6 +824,7 @@
* - LV_OS_CMSIS_RTOS2
* - LV_OS_RTTHREAD
* - LV_OS_WINDOWS
* - LV_OS_MQX
* - LV_OS_CUSTOM
*/
#define LV_USE_OS LV_OS_FREERTOS
@@ -846,6 +848,7 @@
* - LV_OS_CMSIS_RTOS2
* - LV_OS_RTTHREAD
* - LV_OS_WINDOWS
* - LV_OS_MQX
* - LV_OS_CUSTOM
*/
#define LV_USE_OS LV_OS_CMSIS_RTOS2
@@ -869,6 +872,7 @@
* - LV_OS_CMSIS_RTOS2
* - LV_OS_RTTHREAD
* - LV_OS_WINDOWS
* - LV_OS_MQX
* - LV_OS_CUSTOM
*/
#define LV_USE_OS LV_OS_RTTHREAD
@@ -892,6 +896,7 @@
* - LV_OS_CMSIS_RTOS2
* - LV_OS_RTTHREAD
* - LV_OS_WINDOWS
* - LV_OS_MQX
* - LV_OS_CUSTOM
*/
#define LV_USE_OS LV_OS_WINDOWS
@@ -900,6 +905,30 @@
</component>
<component Cgroup="OS Abstraction Layer" Cvariant="MQX" condition="LVGL-Essential">
<description>Add the support for MQX APIs</description>
<files>
<file category="sourceC" name="src/osal/lv_mqx.c"/>
</files>
<RTE_Components_h>
/* Select an operating system to use. Possible options:
* - LV_OS_NONE
* - LV_OS_PTHREAD
* - LV_OS_FREERTOS
* - LV_OS_CMSIS_RTOS2
* - LV_OS_RTTHREAD
* - LV_OS_WINDOWS
* - LV_OS_MQX
* - LV_OS_CUSTOM
*/
#define LV_USE_OS LV_OS_MQX
</RTE_Components_h>
</component>
<component Cgroup="OS Abstraction Layer" Cvariant="User Custom" condition="LVGL-Essential">
<description>Add a user customized (RT)OS support </description>
<files>