*
* \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 adc_at91.c
+
+ #include <cpu/detect.h>
-#if CPU_ARM_AT91
- #include "adc_at91.c"
-/*#elif Add other ARM families here */
-#else
- #error Unknown CPU
-#endif
+ #if CPU_ARM_AT91
+ #include "adc_at91.c"
+ /*#elif Add other ARM families here */
+ #else
+ #error Unknown CPU
+ #endif
+#endif /* WIZ_AUTOGEN */
*
* \author Daniele Basile <asterix@develer.com>
*
- * This module is automatically included so no need to include
+ * 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
-#if CPU_ARM_AT91
- #include "pwm_at91.c"
-/*#elif Add other ARM families here */
-#else
- #error Unknown CPU
-#endif
+ #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 */
\ No newline at end of file
*
* \author Daniele Basile <asterix@develer.com>
*
- * This module is automatically included so no need to include
+ * 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 ser_at91.c
-#if CPU_ARM_AT91
- #include "ser_at91.c"
-/*#elif Add other ARM families here */
-#else
- #error Unknown CPU
-#endif
+ #include <cpu/detect.h>
+
+ #if CPU_ARM_AT91
+ #include "ser_at91.c"
+ /*#elif Add other ARM families here */
+ #else
+ #error Unknown CPU
+ #endif
+#endif /* WIZ_AUTOGEN */
*
* \author Daniele Basile <asterix@develer.com>
*
- * This module is automatically included so no need to include
+ * This module is automatically included so no need to include
* in test list.
* notest: arm
*/
+#ifndef WIZ_AUTOGEN
+ #warning This file is deprecated, you should use stepper_at91.c
-#include <cpu/detect.h>
+ #include <cpu/detect.h>
-#if CPU_ARM_AT91
- #include "stepper_at91.c"
-/*#elif Add other ARM families here */
-#else
- #error Unknown CPU
-#endif
+ #if CPU_ARM_AT91
+ #include "stepper_at91.c"
+ /*#elif Add other ARM families here */
+ #else
+ #error Unknown CPU
+ #endif
+#endif /* WIZ_AUTOGEN */
\ No newline at end of file
* \author Francesco Sacchi <batt@develer.com>
*
* \brief Low-level timer module for ARM (inplementation).
+ *
+ * This module is automatically included so no need to include
+ * in test list.
+ * notest: arm
*/
-#include <cpu/detect.h>
-#include <cfg/cfg_arch.h>
+#ifndef WIZ_AUTOGEN
+ #warning This file is deprecated, you should use timer_at91.c
-#if !(ARCH & ARCH_NIGHTTEST)
+ #include <cpu/detect.h>
+ #include <cfg/cfg_arch.h>
-#if CPU_ARM_AT91
- #include "timer_at91.c"
-/*#elif Add other ARM families here */
-#else
- #error Unknown CPU
-#endif
+ #if CPU_ARM_AT91
+ #include "timer_at91.c"
+ /*#elif Add other ARM families here */
+ #else
+ #error Unknown CPU
+ #endif
-#endif /* (ARCH & ARCH_NIGHTLYTEST) */
+#endif /* WIZ_AUTOGEN */
*
* \author Daniele Basile <asterix@develer.com>
*
- * This module is automatically included so no need to include
+ * 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 twi_at91.c
-#if CPU_ARM_AT91
- #include "twi_at91.c"
-/*#elif Add other ARM families here */
-#else
- #error Unknown CPU
-#endif
+ #include <cpu/detect.h>
+
+ #if CPU_ARM_AT91
+ #include "twi_at91.c"
+ /*#elif Add other ARM families here */
+ #else
+ #error Unknown CPU
+ #endif
+#endif /* WIZ_AUTOGEN */
$pname_CFLAGS = $cflags
$pname_LDFLAGS = $ldflags
-$pname_CPPFLAGS = -D'CPU_FREQ=($cpuclockfreqUL)' -D'ARCH=(ARCH_DEFAULT)' $cppflags -I$pname/
+$pname_CPPFLAGS = -D'CPU_FREQ=($cpuclockfreqUL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$pname/ $cppflags
$pname_CPPAFLAGS = $cppaflags
$pname_CXXFLAGS = $cxxflags
$pname_ASFLAGS = $asflags