STM32: USB: move the buffer alignment asserts into the appropriate functions
[bertos.git] / bertos / cpu / cortex-m3 / drv / irq_cm3.h
index a3f2ded46218cc1ad9180f0a8ce45f561a468076..93a75f53231515f688d02a186d4ffaabc5b978c1 100644 (file)
 #ifndef DRV_CORTEX_M3_SYSIRQ_H
 #define DRV_CORTEX_M3_SYSIRQ_H
 
+#include <cfg/compiler.h>
+
 #if CPU_CM3_LM3S
        #include <io/lm3s.h>
+#elif CPU_CM3_STM32
+       #include <io/stm32.h>
+#elif CPU_CM3_AT91SAM3
+       #include <io/sam3.h>
 /*#elif  Add other families here */
 #else
        #error Unknown CPU