From f989f600755eda606c6c9853bb229bec47bebbc0 Mon Sep 17 00:00:00 2001 From: batt Date: Wed, 31 Mar 2010 12:47:17 +0000 Subject: [PATCH] Fix errors in nightly test. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3349 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/arm/hw/vectors_at91.S | 7 +++++++ bertos/cpu/arm/hw/vectors_lpc2.S | 6 ++++++ 2 files changed, 13 insertions(+) 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. */ -- 2.25.1