Use generic include.
[bertos.git] / bertos / cpu / cortex-m3 / hw / init_cm3.c
index 65009d35967c0b1fa6759a117e88cf0c2047af6c..b67900fccd0aefb16123efac696c9019c9233d2d 100644 (file)
 #include <cpu/types.h>
 
 #include <drv/irq_cm3.h>
+#include <drv/clock_cm3.h>
 
 #include <kern/proc_p.h>
 
-#if CPU_CM3_LM3S
-#include <drv/clock_lm3s.h>
-#include <io/lm3s.h>
-#elif CPU_CM3_STM32
-#include <drv/clock_stm32.h>
-#include <io/stm32.h>
-#endif
+#include <io/cm3.h>
 
 extern size_t __text_end, __data_start, __data_end, __bss_start, __bss_end;