work with lpc11u37 (lpc11uxx) on kevin's board

This commit is contained in:
hathach
2012-12-07 16:22:47 +07:00
parent cc45f35d70
commit cd74f4f0ed
10 changed files with 1057 additions and 42 deletions

View File

@@ -51,7 +51,9 @@
#ifndef _TUSB_MCU_H_
#define _TUSB_MCU_H_
//#define MCU MCU_LPC43XX
#ifndef MCU // elcipse view
#define MCU MCU_LPC11UXX
#endif
#define MCU_LPC13UXX 1
#define MCU_LPC11UXX 2
@@ -65,7 +67,7 @@
#elif MCU == MCU_LPC43XX
#include "mcu_lpc43xx.h"
#elif MCU == MCU_LPC11UXX
#include "mcu_lpc11xx.h"
#include "mcu_lpc11uxx.h"
#else
#error MCU is not defined or supported yet
#endif

View File

@@ -46,13 +46,13 @@
* @{
*/
#ifndef MCU_LPC11XX_H_
#define MCU_LPC11XX_H_
#ifndef _TUSB_MCU_LPC11UXX_H_
#define _TUSB_MCU_LPC11UXX_H_
#include "LPC11Uxx.h"
#define DEVICE_ROMDRIVER
#endif /* MCU_LPC11XX_H_ */
#endif /* _TUSB_MCU_LPC11UXX_H_ */
/** @} */