LPC2: silent warning in nightly test.
[bertos.git] / bertos / cpu / arm / hw / vectors_lpc2.S
index b15e80533f81255e0c82398a9087b1989d969c51..06d0a7df6ad0edeb85cfb9b4eb385ff22eacbd50 100644 (file)
@@ -59,7 +59,9 @@ __vectors:
         ldr     pc, [pc, #-0x120]    /* Use VIC */
 #else
         .word  0xb9205f88           /* In LPX2xxx, this location holds the checksum of the previous vectors */
-       #warning Check correct VICAddress register for this CPU, default set to 0xFFFFF030
+       #if CPU_ARM_LPC2
+               #warning Check correct VICAddress register for this CPU, default set to 0xFFFFF030
+       #endif
         ldr     pc, [pc, #-0xFF0]    /* Use VIC */
 #endif
         ldr     pc, _fiq            /* Fast interrupt request */