Fix errors in nightly test.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 31 Mar 2010 12:47:17 +0000 (12:47 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 31 Mar 2010 12:47:17 +0000 (12:47 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3349 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/cpu/arm/hw/vectors_at91.S
bertos/cpu/arm/hw/vectors_lpc2.S

index b67e5cc31df8acbdbdd204ef09f1853ac83ccc8f..ce4991e499421808bd28776c94be88012cf63370 100644 (file)
  * \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.
  */
index 71d700b841e61140665c857417d4ebeb4b51224e..d5568fb971dcc2225b2aac2628f73546c7f4b40c 100644 (file)
  * \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.
  */