Add support for Keil RTX4 OS abstraction layer

This commit is contained in:
Yunhao Tian
2021-11-30 17:11:14 +08:00
parent ac20605e3f
commit a6929cf03e
3 changed files with 172 additions and 0 deletions
+2
View File
@@ -57,6 +57,8 @@ typedef void (*osal_task_func_t)( void * );
#include "osal_pico.h"
#elif CFG_TUSB_OS == OPT_OS_RTTHREAD
#include "osal_rtthread.h"
#elif CFG_TUSB_OS == OPT_OS_RTX4
#include "osal_rtx4.h"
#elif CFG_TUSB_OS == OPT_OS_CUSTOM
#include "tusb_os_custom.h" // implemented by application
#else