allow application to implement its own os

This commit is contained in:
hathach
2020-04-05 18:22:16 +07:00
parent 7a32ee58f3
commit c2606c0213
2 changed files with 6 additions and 3 deletions

View File

@@ -53,6 +53,8 @@ typedef void (*osal_task_func_t)( void * );
#include "osal_freertos.h"
#elif CFG_TUSB_OS == OPT_OS_MYNEWT
#include "osal_mynewt.h"
#elif CFG_TUSB_OS == OPT_OS_CUSTOM
#include "tusb_os_custom.h" // implemented by application
#else
#error OS is not supported yet
#endif