projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not compile twice arm C files in nighttest.
[bertos.git]
/
bertos
/
cpu
/
arm
/
drv
/
timer_arm.c
diff --git
a/bertos/cpu/arm/drv/timer_arm.c
b/bertos/cpu/arm/drv/timer_arm.c
index 405366cea1081134486e7c9778b9c6d37d457194..b6f4d845f1db8c7fee2e6b21e82c46da5e922185 100644
(file)
--- a/
bertos/cpu/arm/drv/timer_arm.c
+++ b/
bertos/cpu/arm/drv/timer_arm.c
@@
-38,6
+38,9
@@
*/
#include <cpu/detect.h>
*/
#include <cpu/detect.h>
+#include <cfg/cfg_arch.h>
+
+#if !(ARCH & ARCH_NIGHTTEST)
#if CPU_ARM_AT91
#include "timer_at91.c"
#if CPU_ARM_AT91
#include "timer_at91.c"
@@
-45,3
+48,5
@@
#else
#error Unknown CPU
#endif
#else
#error Unknown CPU
#endif
+
+#endif /* (ARCH & ARCH_NIGHTLYTEST) */