X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Farm%2Fhw%2Fcrtat91sam7_rom.S;h=ee00f7c8651e5d6eb0d296028dc91a022812222f;hb=214612327f6fe0111c487f4019599e285a14f446;hp=a889680dd6f5b280bef89bf2836090a4cb17a7e5;hpb=b14d9b252cb238d5d952afc06a863f8ec687f7df;p=bertos.git diff --git a/bertos/cpu/arm/hw/crtat91sam7_rom.S b/bertos/cpu/arm/hw/crtat91sam7_rom.S index a889680d..ee00f7c8 100644 --- a/bertos/cpu/arm/hw/crtat91sam7_rom.S +++ b/bertos/cpu/arm/hw/crtat91sam7_rom.S @@ -70,12 +70,16 @@ * */ -#include "hw_cpu.h" +#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