summaryrefslogtreecommitdiff
path: root/tinyusb/hal
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-03-04 15:01:33 +0700
committerhathach <[email protected]>2013-03-04 15:01:33 +0700
commit656da2992ded914c70da849f9f7a1571dd2b91f4 (patch)
tree3e00db7c1c2cf57276fd61ae833e54ff1ea67364 /tinyusb/hal
parent5207875addf972f8323b51318975c6c6f3861dd4 (diff)
add alignof to compilier specific
add static_assert support for IAR (built-in support)
Diffstat (limited to 'tinyusb/hal')
-rw-r--r--tinyusb/hal/hal_lpc43xx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tinyusb/hal/hal_lpc43xx.h b/tinyusb/hal/hal_lpc43xx.h
index 63da8a37c..0d9e4c8be 100644
--- a/tinyusb/hal/hal_lpc43xx.h
+++ b/tinyusb/hal/hal_lpc43xx.h
@@ -61,6 +61,9 @@
#define DEVICE_ROM_REG_BASE LPC_USB0_BASE // TODO USB1
#define DEVICE_ROM_DRIVER_ADDR 0x1040011C
+#define tusb_1st_isr USB0_IRQHandler
+#define tusb_2nd_isr
+
static inline void hal_interrupt_enable()
{
NVIC_EnableIRQ(USB0_IRQn); // TODO USB1