projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correct typo
[bertos.git]
/
bertos
/
cpu
/
arm
/
hw
/
crtat91sam7_rom.S
diff --git
a/bertos/cpu/arm/hw/crtat91sam7_rom.S
b/bertos/cpu/arm/hw/crtat91sam7_rom.S
index c7706d73ffbaa9135af0751d6e7c4d67ec47b3d1..ee00f7c8651e5d6eb0d296028dc91a022812222f 100644
(file)
--- a/
bertos/cpu/arm/hw/crtat91sam7_rom.S
+++ b/
bertos/cpu/arm/hw/crtat91sam7_rom.S
@@
-72,10
+72,14
@@
#include "hw/hw_cpu.h"
#include <cpu/detect.h>
#include "hw/hw_cpu.h"
#include <cpu/detect.h>
+#include <cfg/cfg_arch.h>
#if CLOCK_FREQ != 48023000L
#if CLOCK_FREQ != 48023000L
-#error Clock registers set for 48MHz operation, revise following code if you want a different clock.
+ /* Avoid errors on nightly test */
+ #if !defined(ARCH_NIGHTTEST) || !(ARCH & ARCH_NIGHTTEST)
+ #error Clock registers set for 48MHz operation, revise following code if you want a different clock.
+ #endif
#endif
#endif