LPC2: silent warning in nightly test.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 16 Apr 2010 22:57:55 +0000 (22:57 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 16 Apr 2010 22:57:55 +0000 (22:57 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3445 38d2e660-2303-0410-9eaa-f027e97ec537

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 */