projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reformar get name funtion. Add test.
[bertos.git]
/
bertos
/
cpu
/
arm
/
drv
/
twi_arm.c
diff --git
a/bertos/cpu/arm/drv/twi_arm.c
b/bertos/cpu/arm/drv/twi_arm.c
index 4b67aea8407bf182ad1350d997d532397ef7aa93..efbc34a10f542582c25c958f80e4af2dfe484b6d 100644
(file)
--- a/
bertos/cpu/arm/drv/twi_arm.c
+++ b/
bertos/cpu/arm/drv/twi_arm.c
@@
-32,17
+32,24
@@
*
* \brief Low-level TWI module for ARM (inplementation).
*
*
* \brief Low-level TWI module for ARM (inplementation).
*
- * \version $Id$
*
* \author Daniele Basile <asterix@develer.com>
*
*
* \author Daniele Basile <asterix@develer.com>
*
+ * This module is automatically included so no need to include
+ * in test list.
+ * notest: arm
+ *
*/
*/
-#include <cpu/detect.h>
+#ifndef WIZ_AUTOGEN
+ #warning This file is deprecated, you should use twi_at91.c
+
+ #include <cpu/detect.h>
-#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 */