X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Farm%2Fdrv%2Ftwi_arm.c;h=8395f392cf0b55ef9edaa6123b674425a671ce9c;hb=32d1445272120a254d77ce8d1af1f527da7a2c17;hp=4b67aea8407bf182ad1350d997d532397ef7aa93;hpb=dadc5ec2c820ae7305d585427be6a296e3f98a8b;p=bertos.git diff --git a/bertos/cpu/arm/drv/twi_arm.c b/bertos/cpu/arm/drv/twi_arm.c index 4b67aea8..8395f392 100644 --- a/bertos/cpu/arm/drv/twi_arm.c +++ b/bertos/cpu/arm/drv/twi_arm.c @@ -36,13 +36,21 @@ * * \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 twi_at91.c + + #include -#if CPU_ARM_AT91 - #include "twi_at91.c" -/*#elif Add other ARM families here */ -#else - #error Unknown CPU -#endif + #if CPU_ARM_AT91 + #include "twi_at91.c" + /*#elif Add other ARM families here */ + #else + #error Unknown CPU + #endif +#endif /* WIZ_AUTOGEN */