From: batt Date: Wed, 31 Mar 2010 12:47:17 +0000 (+0000) Subject: Fix errors in nightly test. X-Git-Tag: 2.5.0~559 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=f989f600755eda606c6c9853bb229bec47bebbc0;p=bertos.git Fix errors in nightly test. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3349 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/arm/hw/vectors_at91.S b/bertos/cpu/arm/hw/vectors_at91.S index b67e5cc3..ce4991e4 100644 --- a/bertos/cpu/arm/hw/vectors_at91.S +++ b/bertos/cpu/arm/hw/vectors_at91.S @@ -35,6 +35,13 @@ * \brief Atmel AT91SAM interrupt vectors. */ +#include "cfg/cfg_arch.h" +#if defined(ARCH_NIGHTTEST) && (ARCH & ARCH_NIGHTTEST) + /* Avoid errors during nigthly test */ + #define __vectors __vectors_at91 +#endif + + /* * Section 0: Vector table and reset entry. */ diff --git a/bertos/cpu/arm/hw/vectors_lpc2.S b/bertos/cpu/arm/hw/vectors_lpc2.S index 71d700b8..d5568fb9 100644 --- a/bertos/cpu/arm/hw/vectors_lpc2.S +++ b/bertos/cpu/arm/hw/vectors_lpc2.S @@ -35,6 +35,12 @@ * \brief NXP LPC2xxx interrupt vectors. */ +#include "cfg/cfg_arch.h" +#if defined(ARCH_NIGHTTEST) && (ARCH & ARCH_NIGHTTEST) + /* Avoid errors during nigthly test */ + #define __vectors __vectors_lpc2 +#endif + /* * Section 0: Vector table and reset entry. */