diff options
| author | hathach <[email protected]> | 2013-04-16 16:48:19 +0800 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-04-16 16:48:19 +0800 |
| commit | a9010c17862b56fd337716253f2059fb2fcb72b7 (patch) | |
| tree | 4a5b052737d79dce324c5422724309b6e29e3962 /tinyusb | |
| parent | cb4981dd2d0123c7442500a25e1897e537692e6b (diff) | |
getting build with freertos & host demo
Diffstat (limited to 'tinyusb')
| -rw-r--r-- | tinyusb/osal/osal.h | 9 | ||||
| -rw-r--r-- | tinyusb/osal/osal_freeRTOS.h | 1 |
2 files changed, 7 insertions, 3 deletions
diff --git a/tinyusb/osal/osal.h b/tinyusb/osal/osal.h index 3904e2c77..531911a7c 100644 --- a/tinyusb/osal/osal.h +++ b/tinyusb/osal/osal.h @@ -58,14 +58,17 @@ #include "tusb_option.h" #define TUSB_OS_NONE 1 -#define TUSB_OS_CMSIS 2 -#define TUSB_OS_FREERTOS 3 -#define TUSB_OS_UCOS 4 +#define TUSB_OS_FREERTOS 2 +#define TUSB_OS_CMSIS 3 +#define TUSB_OS_UCOS2 4 +#define TUSB_OS_UCOS3 5 #ifndef _TEST_ #if TUSB_CFG_OS == TUSB_OS_NONE #include "osal_none.h" +#elif TUSB_CFG_OS == TUSB_OS_FREERTOS + #include "osal_freeRTOS.h" #else #error TUSB_CFG_OS is not defined or OS is not supported yet #endif diff --git a/tinyusb/osal/osal_freeRTOS.h b/tinyusb/osal/osal_freeRTOS.h index 1a970f6b2..711660ff7 100644 --- a/tinyusb/osal/osal_freeRTOS.h +++ b/tinyusb/osal/osal_freeRTOS.h @@ -57,6 +57,7 @@ #include "FreeRTOS.h" #include "semphr.h" #include "queue.h" +//#include "task.h" #ifdef __cplusplus extern "C" { |
