integrate & able to run cmsis-rtx with current code base

This commit is contained in:
hathach
2013-09-13 16:53:17 +07:00
parent 1f573eecf2
commit c71f5c6f1b
22 changed files with 2670 additions and 59 deletions

View File

@@ -58,11 +58,11 @@
#include "tusb_option.h"
#define TUSB_OS_NONE 1
#define TUSB_OS_FREERTOS 2
#define TUSB_OS_CMSIS 3
#define TUSB_OS_UCOS2 4
#define TUSB_OS_UCOS3 5
#define TUSB_OS_NONE 1
#define TUSB_OS_FREERTOS 2
#define TUSB_OS_CMSIS_RTX 3
#define TUSB_OS_UCOS2 4
#define TUSB_OS_UCOS3 5
#ifndef _TEST_
@@ -70,6 +70,8 @@
#include "osal_none.h"
#elif TUSB_CFG_OS == TUSB_OS_FREERTOS
#include "osal_freeRTOS.h"
#elif TUSB_CFG_OS == TUSB_OS_CMSIS_RTX
#include "osal_cmsis_rtx.h"
#else
#error TUSB_CFG_OS is not defined or OS is not supported yet
#endif