add osal subtask support
add usbh_control_xfer_subtask as xfer and wait fix potential error when update device info & open control pipe for new address fix build error with hal_****.c add STATIC_ASSSERT to perform compile time checking with sizeof later update osal_queue_receive and osal_semaphore_wait for osal_none to support subtask
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
*/
|
||||
|
||||
#include "common/common.h"
|
||||
#include "hal.h"
|
||||
|
||||
#if MCU == MCU_LPC11UXX
|
||||
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
*/
|
||||
|
||||
#include "common/common.h"
|
||||
#include "hal.h"
|
||||
|
||||
#if MCU == MCU_LPC13UXX
|
||||
|
||||
|
||||
@@ -36,9 +36,12 @@
|
||||
*/
|
||||
|
||||
#include "common/common.h"
|
||||
#include "hal.h"
|
||||
|
||||
#if MCU == MCU_LPC43XX
|
||||
|
||||
#include "lpc43xx_cgu.h"
|
||||
|
||||
tusb_error_t hal_init()
|
||||
{
|
||||
/* Set up USB0 clock */
|
||||
|
||||
@@ -52,7 +52,6 @@
|
||||
#define _TUSB_HAL_LPC43XX_H_
|
||||
|
||||
#include "LPC43xx.h"
|
||||
//#include "lpc43xx_cgu.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
Reference in New Issue
Block a user