summaryrefslogtreecommitdiff
path: root/tinyusb/hal
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-01-16 22:23:17 +0700
committerhathach <[email protected]>2013-01-16 22:23:17 +0700
commit095129887e58cc2445afc1e2c10512e87c2c65ff (patch)
treec0a39f51a3658f7cd7eb294923bd5a9100116397 /tinyusb/hal
parent8155fd38a580603af60bc91fa54197b08ce68464 (diff)
delete mcu folders as it duplicate hal folders
Diffstat (limited to 'tinyusb/hal')
-rw-r--r--tinyusb/hal/hal.h4
-rw-r--r--tinyusb/hal/hal_lpc11uxx.h4
-rw-r--r--tinyusb/hal/hal_lpc13uxx.h5
-rw-r--r--tinyusb/hal/hal_lpc43xx.h3
4 files changed, 13 insertions, 3 deletions
diff --git a/tinyusb/hal/hal.h b/tinyusb/hal/hal.h
index 467f75f37..36fe9c5a3 100644
--- a/tinyusb/hal/hal.h
+++ b/tinyusb/hal/hal.h
@@ -58,6 +58,10 @@
#include "common/compiler/compiler.h"
#include "common/errors.h"
+#define MCU_LPC13UXX 0
+#define MCU_LPC11UXX 1
+#define MCU_LPC43XX 2
+
/** \brief USB hardware init
*
* \param[in] para1
diff --git a/tinyusb/hal/hal_lpc11uxx.h b/tinyusb/hal/hal_lpc11uxx.h
index 1f1d6779e..b984afbc1 100644
--- a/tinyusb/hal/hal_lpc11uxx.h
+++ b/tinyusb/hal/hal_lpc11uxx.h
@@ -51,7 +51,9 @@
#ifndef _TUSB_HAL_LPC11UXX_H_
#define _TUSB_HAL_LPC11UXX_H_
-#include "common/mcu/mcu.h"
+#include "LPC11Uxx.h"
+
+#define DEVICE_ROMDRIVER
#ifdef __cplusplus
extern "C" {
diff --git a/tinyusb/hal/hal_lpc13uxx.h b/tinyusb/hal/hal_lpc13uxx.h
index f29bab7b9..c360f2909 100644
--- a/tinyusb/hal/hal_lpc13uxx.h
+++ b/tinyusb/hal/hal_lpc13uxx.h
@@ -51,7 +51,10 @@
#ifndef _TUSB_HAL_LPC13UXX_H_
#define _TUSB_HAL_LPC13UXX_H_
-#include "common/mcu/mcu.h"
+#include "LPC13Uxx.h"
+
+#define DEVICE_ROMDRIVER
+
#ifdef __cplusplus
extern "C" {
diff --git a/tinyusb/hal/hal_lpc43xx.h b/tinyusb/hal/hal_lpc43xx.h
index a0648d8f4..d00d9fa42 100644
--- a/tinyusb/hal/hal_lpc43xx.h
+++ b/tinyusb/hal/hal_lpc43xx.h
@@ -51,7 +51,8 @@
#ifndef _TUSB_HAL_LPC43XX_H_
#define _TUSB_HAL_LPC43XX_H_
-#include "common/mcu/mcu.h"
+#include "LPC43xx.h"
+#include "lpc43xx_cgu.h"
#ifdef __cplusplus
extern "C" {