Remove duplicate define. Put all phy chip specific defines in its
[bertos.git] / bertos / cpu / cortex-m3 / drv / adc_cm3.h
index a5f15a1149d59ab9c8961692d6d7bb4b44cec968..168a5da0c244a9daf6a62cf26491e1d640e95fe3 100644 (file)
@@ -26,7 +26,7 @@
  * invalidate any other reasons why the executable file might be covered by
  * the GNU General Public License.
  *
- * Copyright 2007 Develer S.r.l. (http://www.develer.com/)
+ * Copyright 2010 Develer S.r.l. (http://www.develer.com/)
  *
  * -->
  *
 
 #include <cpu/detect.h>
 
-#if CPU_CM3_STM32
+#if CPU_CM3_LM3S
+       #include "adc_lm3s.h"
+#elif CPU_CM3_STM32
        #include "adc_stm32.h"
+#elif CPU_CM3_SAM3X
+       #include "adc_sam3.h"
 /*#elif  Add other ARM families here */
 #else
        #error Unknown CPU