We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ce83029 + 529da7c commit b29e9d0Copy full SHA for b29e9d0
libraries/tests/mbed/vtor_reloc/main.cpp
@@ -4,6 +4,7 @@
4
5
#include "test_env.h"
6
#include "cmsis_nvic.h"
7
+#include "toolchain.h"
8
#include <string.h>
9
10
#if defined(TARGET_SAMR21G18A) || defined(TARGET_SAMD21J18A) || defined(TARGET_SAMD21G18A)
@@ -31,7 +32,7 @@ DigitalOut out(PIN_OUT);
31
32
DigitalOut myled(LED1);
33
34
volatile int checks = 0;
-uint32_t int_table[NUM_VECTORS] __attribute__ ((aligned(256)));
35
+uint32_t int_table[NUM_VECTORS] MBED_ALIGN(256);
36
37
#define FALLING_EDGE_COUNT 5
38
0 commit comments