add alignof to compilier specific

add static_assert support for IAR (built-in support)
This commit is contained in:
hathach
2013-03-04 15:01:33 +07:00
parent 5207875add
commit 656da2992d
8 changed files with 37 additions and 10 deletions

View File

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