Use correct path.
[bertos.git] / bertos / cpu / arm / hw / crtat91sam7_rom.S
index 5addc38a4c5663aec866ca3565a7117312acf16a..c5317847769262965a9e47f833792a5c78937080 100644 (file)
 #if CPU_FREQ != 48023000L
        /* 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.
+               #warning Clock registers set for 48.023MHz operation, revise following code if you want a different clock.
        #endif
 #endif
 
 
-#if CPU_ARM_AT91SAM7S256 || CPU_ARM_AT91SAM7X256 || CPU_ARM_AT91SAM7X128
+#if CPU_ARM_SAM7S_LARGE || CPU_ARM_SAM7X
        /**
        * With a 18.420MHz cristal, master clock is:
        * (((18.420 * PLL_MUL_VAL + 1) / PLL_DIV_VAL) / AT91MCK_PRES) = 48.023MHz