From ce85e4d98f4916fe64f5d266dd0941e7e066e5bc Mon Sep 17 00:00:00 2001 From: hathach Date: Wed, 19 Mar 2014 18:12:51 +0700 Subject: #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 --- tinyusb/host/usbh.c | 2 +- tinyusb/osal/osal_common.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tinyusb') diff --git a/tinyusb/host/usbh.c b/tinyusb/host/usbh.c index 1ff9d365e..13f08719e 100644 --- a/tinyusb/host/usbh.c +++ b/tinyusb/host/usbh.c @@ -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 diff --git a/tinyusb/osal/osal_common.h b/tinyusb/osal/osal_common.h index 4c551126c..9add3e877 100644 --- a/tinyusb/osal/osal_common.h +++ b/tinyusb/osal/osal_common.h @@ -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 }; -- cgit v1.3.1