X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=bertos%2Fcpu%2Farm%2Fdrv%2Fser_arm.c;h=f19f1b0f1a158648f6e54f5a1959b6bf4ecdda08;hb=87992fb50db502bebed43652edcdea37e918973d;hp=dbd84d75248a508b44d118f61f8be19972d70bc9;hpb=345f93de1963f49bdb194d2b06c8c5d7ba0a3e5f;p=bertos.git diff --git a/bertos/cpu/arm/drv/ser_arm.c b/bertos/cpu/arm/drv/ser_arm.c index dbd84d75..f19f1b0f 100644 --- a/bertos/cpu/arm/drv/ser_arm.c +++ b/bertos/cpu/arm/drv/ser_arm.c @@ -30,18 +30,27 @@ * * --> * - * \version $Id: timer_arm.c 18260 2007-10-11 14:08:10Z batt $ + * \brief Low-level serial module for ARM (inplementation). * * \author Daniele Basile * - * \brief Low-level USART 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 ser_at91.c + + #include -#if CPU_ARM_AT91 - #include "ser_at91.c" -/*#elif Add other ARM families here */ -#else - #error Unknown CPU -#endif + #if CPU_ARM_AT91 + #include "ser_at91.c" + #elif CPU_ARM_LPC2378 + #include "ser_lpc2.c" + /*#elif Add other ARM families here */ + #else + #error Unknown CPU + #endif +#endif /* WIZ_AUTOGEN */