X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Farm%2Fdrv%2Fpwm_arm.c;h=18b699ab46a4f658d898c9eb4f2d1807a7266a58;hb=b44c11e480505f754d0f7b4ac3067e4ebf5adcc2;hp=9eb019b5fb6d03921faebe42034f4afe835bebdd;hpb=6863656e1f7c8032b1405e38a4fbdb7827fec408;p=bertos.git diff --git a/bertos/cpu/arm/drv/pwm_arm.c b/bertos/cpu/arm/drv/pwm_arm.c index 9eb019b5..18b699ab 100644 --- a/bertos/cpu/arm/drv/pwm_arm.c +++ b/bertos/cpu/arm/drv/pwm_arm.c @@ -32,17 +32,25 @@ * * \brief Low-level PWM module for ARM (inplementation). * - * \version $Id$ * * \author Daniele Basile * + * 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 pwm_at91.c + + #include + + #if CPU_ARM_AT91 + #include "pwm_at91.c" + /*#elif Add other ARM families here */ + #else + #error Unknown CPU + #endif +#endif /* WIZ_AUTOGEN */ -#if CPU_ARM_AT91 - #include "pwm_at91.c" -/*#elif Add other ARM families here */ -#else - #error Unknown CPU -#endif