Skip to content

Commit b29e9d0

Browse files
committed
Merge branch 'bridadan-fix-lpc1768-test-compile'
2 parents ce83029 + 529da7c commit b29e9d0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libraries/tests/mbed/vtor_reloc/main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
#include "test_env.h"
66
#include "cmsis_nvic.h"
7+
#include "toolchain.h"
78
#include <string.h>
89

910
#if defined(TARGET_SAMR21G18A) || defined(TARGET_SAMD21J18A) || defined(TARGET_SAMD21G18A)
@@ -31,7 +32,7 @@ DigitalOut out(PIN_OUT);
3132
DigitalOut myled(LED1);
3233

3334
volatile int checks = 0;
34-
uint32_t int_table[NUM_VECTORS] __attribute__ ((aligned(256)));
35+
uint32_t int_table[NUM_VECTORS] MBED_ALIGN(256);
3536

3637
#define FALLING_EDGE_COUNT 5
3738

0 commit comments

Comments
 (0)