work with lpc11u37 (lpc11uxx) on kevin's board
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
| @@ -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_ */ | ||||
| 
 | ||||
| /** @} */ | ||||
		Reference in New Issue
	
	Block a user
	 hathach
					hathach