summaryrefslogtreecommitdiff
path: root/tinyusb/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-05-31 13:57:57 +0700
committerhathach <[email protected]>2013-05-31 13:57:57 +0700
commit3b9a616ca926172f299eb93eab0269bcea26d105 (patch)
tree986a87fd7e483f8f8b7fd9ee80f2dec55fffa6f2 /tinyusb/device
parent04a641f0670eb448f561aa945ecc2a7cf0365469 (diff)
change at86rf to 1ghznode
rom device runs ok with lpc11uxx
Diffstat (limited to 'tinyusb/device')
-rw-r--r--tinyusb/device/dcd_lpc11uxx_lpc13xx.h (renamed from tinyusb/device/dcd_lpc13xx.h)9
-rw-r--r--tinyusb/device/dcd_nxp_romdriver.h4
2 files changed, 7 insertions, 6 deletions
diff --git a/tinyusb/device/dcd_lpc13xx.h b/tinyusb/device/dcd_lpc11uxx_lpc13xx.h
index 9d9780b36..ce7fc90ea 100644
--- a/tinyusb/device/dcd_lpc13xx.h
+++ b/tinyusb/device/dcd_lpc11uxx_lpc13xx.h
@@ -1,6 +1,6 @@
/**************************************************************************/
/*!
- @file dcd_lpc13xx.h
+ @file dcd_lpc11uxx_lpc13xx.h
@author hathach (tinyusb.org)
@section LICENSE
@@ -43,8 +43,8 @@
* @{
*/
-#ifndef _TUSB_DCD_LPC13XX_H_
-#define _TUSB_DCD_LPC13XX_H_
+#ifndef _TUSB_DCD_LPC11UXX_LPC13XX_H_
+#define _TUSB_DCD_LPC11UXX_LPC13XX_H_
#define DEVICE_ROM_REG_BASE LPC_USB_BASE
#define DEVICE_ROM_DRIVER_ADDR 0x1FFF1FF8
@@ -54,10 +54,11 @@
#endif
+
#ifdef __cplusplus
}
#endif
-#endif /* _TUSB_DCD_LPC13XX_H_ */
+#endif /* _TUSB_DCD_LPC11UXX_LPC13XX_H_ */
/** @} */
diff --git a/tinyusb/device/dcd_nxp_romdriver.h b/tinyusb/device/dcd_nxp_romdriver.h
index 28e7e2989..840ff0f6f 100644
--- a/tinyusb/device/dcd_nxp_romdriver.h
+++ b/tinyusb/device/dcd_nxp_romdriver.h
@@ -55,8 +55,8 @@
#if (MCU == MCU_LPC18XX) || (MCU == MCU_LPC43XX)
#include "dcd_lpc18xx_lpc43xx.h"
#define ROM_API ( * ((USBD_API_T**) DEVICE_ROM_DRIVER_ADDR) )
-#elif (MCU == MCU_LPC13UXX)
- #include "dcd_lpc13xx.h"
+#elif (MCU == MCU_LPC13UXX) || (MCU == MCU_LPC11UXX)
+ #include "dcd_lpc11uxx_lpc13xx.h"
#define ROM_API ( * (*((USBD_API_T***) DEVICE_ROM_DRIVER_ADDR)) )
#else
#error forgot something, thach ?