add build and project settings for lpc43xx

This commit is contained in:
hathach
2012-12-10 15:59:10 +07:00
parent 3eb7465e5e
commit 4ec23ea786
8 changed files with 188 additions and 15 deletions

View File

@@ -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

View File

@@ -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);

View File

@@ -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);