#define SVCall_Handler SVC_Handler in lpcxpresso startup for lpc175x_6x & lpc11uxx for better compatiable with other lib & toolchain.

added lpc176x xpresso with cmsis rtx
This commit is contained in:
hathach
2014-03-19 18:12:51 +07:00
parent eb5dd58b51
commit ce85e4d98f
15 changed files with 135 additions and 15 deletions
+1 -1
View File
@@ -178,7 +178,7 @@ tusb_error_t usbh_init(void)
tusb_error_t usbh_control_xfer_subtask(uint8_t dev_addr, uint8_t bmRequestType, uint8_t bRequest,
uint16_t wValue, uint16_t wIndex, uint16_t wLength, uint8_t* data)
{
static tusb_error_t error; // FIXME cmsis-rtx use svc for OS API, error value changed after mutex release at the end of function
static tusb_error_t error; // FIXME [CMSIS-RTX] use svc for OS API, error value changed after mutex release at the end of function
OSAL_SUBTASK_BEGIN
+1 -1
View File
@@ -59,7 +59,7 @@
enum
{
OSAL_TIMEOUT_NOTIMEOUT = 0, // for use within ISR, return immediately
OSAL_TIMEOUT_NORMAL = 10*5, // default is 10 msec, FIXME CMSIS-RTX easily timeout with 10 msec
OSAL_TIMEOUT_NORMAL = 10*5, // default is 10 msec, FIXME [CMSIS-RTX] easily timeout with 10 msec
OSAL_TIMEOUT_WAIT_FOREVER = 0xFFFFFFFF
};