summaryrefslogtreecommitdiff
path: root/src/osal
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-04-05 18:22:16 +0700
committerhathach <[email protected]>2020-04-05 18:22:16 +0700
commitc2606c021386588675cba1e7dfee01b9488e8175 (patch)
tree040a120925498ac5614d296eacac5b70eaf94fd0 /src/osal
parent7a32ee58f3eb64b93a958462be40e4e1e4c0e16c (diff)
allow application to implement its own os
Diffstat (limited to 'src/osal')
-rw-r--r--src/osal/osal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osal/osal.h b/src/osal/osal.h
index 8b7527a7e..94c71e7d9 100644
--- a/src/osal/osal.h
+++ b/src/osal/osal.h
@@ -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