STM32: USB: endpoint buffer must be 4-bytes aligned
[bertos.git] / bertos / cpu / cortex-m3 / drv / timer_cm3.h
index 1ee8b7a2a3bc4263f3878c70b3ccf3ba8ec9ed41..80ec8eb7d67edb2a3d4eba060ac9dce0942ac021 100644 (file)
 
 #include "cfg/cfg_timer.h"     /* CONFIG_TIMER */
 
+#include <cpu/detect.h>
+#include <cpu/irq.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