rename tusb_device_is_configured
remove dcd_lpc18xx_lpc43xx.h and dcd_lpc11uxx_lpc13xx move define to hal
This commit is contained in:
@@ -56,11 +56,9 @@
|
||||
#define USB_MAX_IF_NUM 8 // maximum interface number supported, should be fixed to 8
|
||||
|
||||
#if (MCU == MCU_LPC18XX) || (MCU == MCU_LPC43XX)
|
||||
#include "dcd_lpc18xx_lpc43xx.h"
|
||||
#define ROM_API ( * ((USBD_API_T**) NXP_ROMDRIVER_FUNCTION_ADDR) )
|
||||
#define USB_MAX_EP_NUM 6
|
||||
#elif (MCU == MCU_LPC13UXX) || (MCU == MCU_LPC11UXX)
|
||||
#include "dcd_lpc11uxx_lpc13xx.h"
|
||||
#define ROM_API ( * (*((USBD_API_T***) NXP_ROMDRIVER_FUNCTION_ADDR)) )
|
||||
#define USB_MAX_EP_NUM 5
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user