X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Farm%2Fhw%2Fcrtat91sam7_rom.S;fp=bertos%2Fcpu%2Farm%2Fhw%2Fcrtat91sam7_rom.S;h=ee00f7c8651e5d6eb0d296028dc91a022812222f;hb=4509aed48c757e1bd1466e643349cadbbb0c0e9d;hp=c7706d73ffbaa9135af0751d6e7c4d67ec47b3d1;hpb=1cdcadf620678aca50bc36a0ff24986140720f3b;p=bertos.git diff --git a/bertos/cpu/arm/hw/crtat91sam7_rom.S b/bertos/cpu/arm/hw/crtat91sam7_rom.S index c7706d73..ee00f7c8 100644 --- 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 +#include #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