hid mouse working

This commit is contained in:
hathach
2012-11-29 16:32:49 +07:00
parent 8f57cb6ccb
commit b8b92e1202
11 changed files with 49 additions and 32 deletions

View File

@@ -51,17 +51,20 @@
#ifndef _TUSB_ARCH_H_
#define _TUSB_ARCH_H_
#define ARCH_LPC134X 1
#define ARCH_LPC43XX 2
#define ARCH ARCH_LPC134X
#define ARCH_LPC134X
//#define ARCH_LPC11XX
#define ENDIAN_LITTLE ///< MCU Endian
#define ALIGNMENT (4) ///< MCU Alignment
#if ARCH == ARCH_LPC134X
#if defined ARCH_LPC134X
#include "arch_lpc134x.h"
#elif ARCH == ARCH_LPC43XX
#elif defined ARCH_LPC43XX
#include "arch_lpc43xx.h"
#elif defined ARCH_LPC11XX
#include "arch_lpc11xx.h"
#else
#error Arch is not found
#endif
#endif /* _TUSB_ARCH_H_ */

View File

@@ -49,12 +49,13 @@
#ifndef _TUSB_ARCH_LPC134_X_H_
#define _TUSB_ARCH_LPC134_X_H_
#define ARM_M3
#define DEVICE_ROMDRIVER
#include "arm_mx.h"
#include "LPC13Uxx.h"
#define ARM_M3
#define DEVICE_ROMDRIVER
#endif /* _TUSB_ARCH_LPC134_X_H_ */

View File

@@ -49,6 +49,8 @@
#ifndef _TUSB_ARM_MX_H_
#define _TUSB_ARM_MX_H_
// #ifdef ARM_M3 ARM_M4 ARM_M0
#define ENDIAN_LITTLE
#define ALIGNMENT (4)