X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Farm%2Fdrv%2Ftimer_arm.c;h=6a7339f13a7496ebe09cdcee4162b6f2fd7716e2;hb=b44c11e480505f754d0f7b4ac3067e4ebf5adcc2;hp=b6f4d845f1db8c7fee2e6b21e82c46da5e922185;hpb=53af4558886960f99632fb9cea1af91ce3fe82b1;p=bertos.git diff --git a/bertos/cpu/arm/drv/timer_arm.c b/bertos/cpu/arm/drv/timer_arm.c index b6f4d845..6a7339f1 100644 --- a/bertos/cpu/arm/drv/timer_arm.c +++ b/bertos/cpu/arm/drv/timer_arm.c @@ -30,23 +30,27 @@ * * --> * - * \version $Id$ * * \author Francesco Sacchi * * \brief Low-level timer module for ARM (inplementation). + * + * This module is automatically included so no need to include + * in test list. + * notest: arm */ -#include -#include +#ifndef WIZ_AUTOGEN + #warning This file is deprecated, you should use timer_at91.c -#if !(ARCH & ARCH_NIGHTTEST) + #include + #include -#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 */