From 4e98a3386ef949ae85eb5273c3805804a5f03af4 Mon Sep 17 00:00:00 2001 From: batt Date: Fri, 16 Apr 2010 22:57:55 +0000 Subject: [PATCH] LPC2: silent warning in nightly test. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3445 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/arm/hw/vectors_lpc2.S | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bertos/cpu/arm/hw/vectors_lpc2.S b/bertos/cpu/arm/hw/vectors_lpc2.S index b15e8053..06d0a7df 100644 --- a/bertos/cpu/arm/hw/vectors_lpc2.S +++ b/bertos/cpu/arm/hw/vectors_lpc2.S @@ -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 */ -- 2.25.1