X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Farm%2Fdrv%2Fstepper_arm.c;h=93d02d92d99762aeb50f88a2cc2393c969a3c520;hb=b44c11e480505f754d0f7b4ac3067e4ebf5adcc2;hp=a51abf842e6b120cd59a8161fc5344303bd45036;hpb=b94d14d668b87c1e6f6ddad5b6aafd6b45a613b6;p=bertos.git diff --git a/bertos/cpu/arm/drv/stepper_arm.c b/bertos/cpu/arm/drv/stepper_arm.c index a51abf84..93d02d92 100644 --- a/bertos/cpu/arm/drv/stepper_arm.c +++ b/bertos/cpu/arm/drv/stepper_arm.c @@ -32,20 +32,23 @@ * * \brief Low-level stepper timer module for ARM (inplementation). * - * \version $Id$ * * \author Daniele Basile * - * 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 + #include + + #if CPU_ARM_AT91 + #include "stepper_at91.c" + /*#elif Add other ARM families here */ + #else + #error Unknown CPU + #endif +#endif /* WIZ_AUTOGEN */ -#if CPU_ARM_AT91 - #include "stepper_at91.c" -/*#elif Add other ARM families here */ -#else - #error Unknown CPU -#endif