Browse Source

hal update

hathach 8 years ago
parent
commit
f88e24d773

+ 0 - 0
tinyusb/hal/hal_lpc11uxx.c → hw/mcu/nxp/lpc11uxx/usb/hal_lpc11uxx.c


+ 3 - 3
tinyusb/hal/hal_lpc11uxx.h → hw/mcu/nxp/lpc11uxx/usb/hal_mcu.h

@@ -36,8 +36,8 @@
 */
 */
 /**************************************************************************/
 /**************************************************************************/
 
 
-#ifndef _TUSB_HAL_LPC11UXX_H_
-#define _TUSB_HAL_LPC11UXX_H_
+#ifndef _TUSB_HAL_MCU_H_
+#define _TUSB_HAL_MCU_H_
 
 
 #include "LPC11Uxx.h"
 #include "LPC11Uxx.h"
 
 
@@ -50,4 +50,4 @@
  }
  }
 #endif
 #endif
 
 
-#endif /* _TUSB_HAL_LPC11UXX_H_ */
+#endif /* _TUSB_HAL_MCU_H_ */

+ 0 - 0
tinyusb/hal/hal_lpc13uxx.c → hw/mcu/nxp/lpc13uxx/usb/hal_lpc13uxx.c


+ 3 - 3
tinyusb/hal/hal_lpc13uxx.h → hw/mcu/nxp/lpc13uxx/usb/hal_mcu.h

@@ -36,8 +36,8 @@
 */
 */
 /**************************************************************************/
 /**************************************************************************/
 
 
-#ifndef _TUSB_HAL_LPC13UXX_H_
-#define _TUSB_HAL_LPC13UXX_H_
+#ifndef _TUSB_HAL_MCU_H_
+#define _TUSB_HAL_MCU_H_
 
 
 #include "LPC13Uxx.h"
 #include "LPC13Uxx.h"
 
 
@@ -50,5 +50,5 @@
  }
  }
 #endif
 #endif
 
 
-#endif /* _TUSB_HAL_LPC13UXX_H_ */
+#endif /* _TUSB_HAL_MCU_H_ */
 
 

+ 0 - 0
tinyusb/hal/hal_lpc175x_6x.c → hw/mcu/nxp/lpc175x_6x/usb/hal_lpc175x_6x.c


+ 3 - 3
tinyusb/hal/hal_lpc175x_6x.h → hw/mcu/nxp/lpc175x_6x/usb/hal_mcu.h

@@ -36,8 +36,8 @@
 */
 */
 /**************************************************************************/
 /**************************************************************************/
 
 
-#ifndef _TUSB_HAL_LPC175X_6X_H_
-#define _TUSB_HAL_LPC175X_6X_H_
+#ifndef _TUSB_HAL_MCU_H_
+#define _TUSB_HAL_MCU_H_
 
 
 #include "LPC17xx.h"
 #include "LPC17xx.h"
 #include "lpc17xx_pinsel.h"
 #include "lpc17xx_pinsel.h"
@@ -51,5 +51,5 @@
  }
  }
 #endif
 #endif
 
 
-#endif /* _TUSB_HAL_LPC175X_6X_H_ */
+#endif /* _TUSB_HAL_MCU_H_ */
 
 

+ 3 - 3
hw/mcu/nxp/lpc43xx/usb/hal_usb.h → hw/mcu/nxp/lpc43xx/usb/hal_mcu.h

@@ -36,8 +36,8 @@
 */
 */
 /**************************************************************************/
 /**************************************************************************/
 
 
-#ifndef _TUSB_HAL_USB_H_
-#define _TUSB_HAL_USB_H_
+#ifndef _TUSB_HAL_MCU_H_
+#define _TUSB_HAL_MCU_H_
 
 
 #include "LPC43xx.h"
 #include "LPC43xx.h"
 #include "lpc43xx_cgu.h"
 #include "lpc43xx_cgu.h"
@@ -52,5 +52,5 @@
  }
  }
 #endif
 #endif
 
 
-#endif /* _TUSB_HAL_USB_H_ */
+#endif /* _TUSB_HAL_MCU_H_ */
 
 

+ 1 - 1
tinyusb/hal/hal.h

@@ -83,7 +83,7 @@ void hal_usb_int_enable(uint8_t coreid);
  */
  */
 void hal_usb_int_disable(uint8_t coreid);
 void hal_usb_int_disable(uint8_t coreid);
 
 
-#include "hal_usb.h"
+#include "hal_mcu.h"
 
 
 #ifdef __cplusplus
 #ifdef __cplusplus
 extern "C" {
 extern "C" {