diff options
| author | hathach <[email protected]> | 2012-12-10 15:59:10 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2012-12-10 15:59:10 +0700 |
| commit | 4ec23ea786117b338dd8c070df1da15b27e98f3c (patch) | |
| tree | 2935ed5b554844ec0db03c69a2b76621730e2723 /tinyusb/hal | |
| parent | 3eb7465e5ee8ea6298fcf134f853174fd9560a4c (diff) | |
add build and project settings for lpc43xx
Diffstat (limited to 'tinyusb/hal')
| -rw-r--r-- | tinyusb/hal/hal.h | 3 | ||||
| -rw-r--r-- | tinyusb/hal/hal_lpc11uxx.h | 3 | ||||
| -rw-r--r-- | tinyusb/hal/hal_lpc13uxx.h | 3 |
3 files changed, 2 insertions, 7 deletions
diff --git a/tinyusb/hal/hal.h b/tinyusb/hal/hal.h index 10fcc6155..467f75f37 100644 --- a/tinyusb/hal/hal.h +++ b/tinyusb/hal/hal.h @@ -82,8 +82,9 @@ static inline void hal_interrupt_disable() ATTR_ALWAYS_INLINE; #elif MCU == MCU_LPC13UXX #include "hal_lpc13uxx.h" #elif MCU == MCU_LPC43XX - + #include "hal_lpc43xx.h" #endif + #ifdef __cplusplus } #endif diff --git a/tinyusb/hal/hal_lpc11uxx.h b/tinyusb/hal/hal_lpc11uxx.h index f65f95ad0..1f1d6779e 100644 --- a/tinyusb/hal/hal_lpc11uxx.h +++ b/tinyusb/hal/hal_lpc11uxx.h @@ -63,9 +63,6 @@ static inline void hal_interrupt_enable() NVIC_EnableIRQ(USB_IRQn); } -/** - * Disable USB Interrupt - */ static inline void hal_interrupt_disable() { NVIC_DisableIRQ(USB_IRQn); diff --git a/tinyusb/hal/hal_lpc13uxx.h b/tinyusb/hal/hal_lpc13uxx.h index 795782fc3..f29bab7b9 100644 --- a/tinyusb/hal/hal_lpc13uxx.h +++ b/tinyusb/hal/hal_lpc13uxx.h @@ -62,9 +62,6 @@ static inline void hal_interrupt_enable() NVIC_EnableIRQ(USB_IRQ_IRQn); } -/** - * Disable USB Interrupt - */ static inline void hal_interrupt_disable() { NVIC_DisableIRQ(USB_IRQ_IRQn); |
