X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Farm%2Fdrv%2Ftimer_arm.c;h=adeee6f6a6dd1b3504322831647e8b24aa36482e;hb=911d2706a86d326786bfe721dcc3d63aeade7f28;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..adeee6f6 100644 --- a/bertos/cpu/arm/drv/timer_arm.c +++ b/bertos/cpu/arm/drv/timer_arm.c @@ -35,13 +35,23 @@ * \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 */