make fundamental changes in project building

add some makefile.defs
This commit is contained in:
hathach
2012-12-07 01:27:32 +07:00
parent f31ade6151
commit 6049b6d0df
40 changed files with 4359 additions and 4079 deletions

View File

@@ -53,21 +53,21 @@
//#define MCU MCU_LPC43XX
#define MCU_LPC134X 1
#define MCU_LPC11XX 2
#define MCU_LPC13UXX 1
#define MCU_LPC11UXX 2
#define MCU_LPC43XX 3
#define ENDIAN_LITTLE ///< MCU Endian
#define ALIGNMENT (4) ///< MCU Alignment
#if MCU == MCU_LPC134X
#include "mcu_lpc134x.h"
#if MCU == MCU_LPC13UXX
#include "mcu_lpc13uxx.h"
#elif MCU == MCU_LPC43XX
#include "mcu_lpc43xx.h"
#elif MCU == MCU_LPC11XX
#elif MCU == MCU_LPC11UXX
#include "mcu_lpc11xx.h"
#else
#error Arch is not supported yet
#error MCU is not defined or supported yet
#endif
#endif /* _TUSB_MCU_H_ */