Change filename and macros from AT91SAM3.. to SAM3.. to conform to Atmel's official...
[bertos.git] / bertos / cpu / cortex-m3 / drv / irq_cm3.h
index 9a641e4be5e79742b548adcb2cd551ef86685c0e..8498183973254cfbb3db42d9db6166ee3c5c6d40 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_SAM3
+       #include <io/sam3.h>
 /*#elif  Add other families here */
 #else
        #error Unknown CPU