X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Farm%2Fdrv%2Ftimer_arm.c;h=6a7339f13a7496ebe09cdcee4162b6f2fd7716e2;hb=d44a5cdd118dade91c5069b131192b5127c1b159;hp=405366cea1081134486e7c9778b9c6d37d457194;hpb=345f93de1963f49bdb194d2b06c8c5d7ba0a3e5f;p=bertos.git diff --git a/bertos/cpu/arm/drv/timer_arm.c b/bertos/cpu/arm/drv/timer_arm.c index 405366ce..6a7339f1 100644 --- a/bertos/cpu/arm/drv/timer_arm.c +++ b/bertos/cpu/arm/drv/timer_arm.c @@ -30,18 +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 +#ifndef WIZ_AUTOGEN + #warning This file is deprecated, you should use timer_at91.c + + #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 /* WIZ_AUTOGEN */