add basic support for rt-thread

This commit is contained in:
tfx2001
2021-02-07 22:44:49 +08:00
parent f49d47a0aa
commit 1b678eccf5
4 changed files with 138 additions and 0 deletions

View File

@@ -55,6 +55,8 @@ typedef void (*osal_task_func_t)( void * );
#include "osal_mynewt.h"
#elif CFG_TUSB_OS == OPT_OS_PICO
#include "osal_pico.h"
#elif CFG_TUSB_OS == OPT_OS_RTTHREAD
#include "osal_rtthread.h"
#elif CFG_TUSB_OS == OPT_OS_CUSTOM
#include "tusb_os_custom.h" // implemented by application
#else