Typos.
[bertos.git] / bertos / cpu / arm / drv / pwm_arm.c
index 9eb019b5fb6d03921faebe42034f4afe835bebdd..975d8db7baa60d2f925c21636ce43d9e5d8f28bb 100644 (file)
  *
  * \author Daniele Basile <asterix@develer.com>
  *
+ * This module is automatically included so no need to include
+ * in test list.
+ * notest: arm
+ *
  */
 
-#include <cpu/detect.h>
+#ifndef WIZ_AUTOGEN
+       #warning This file is deprecated, you should use pwm_at91.c
+
+       #include <cpu/detect.h>
+
+       #if CPU_ARM_AT91
+               #include "pwm_at91.c"
+       /*#elif  Add other ARM families here */
+       #else
+               #error Unknown CPU
+       #endif
+#endif  /* WIZ_AUTOGEN */
 
-#if CPU_ARM_AT91
-       #include "pwm_at91.c"
-/*#elif  Add other ARM families here */
-#else
-       #error Unknown CPU
-#endif