mirror of https://github.com/ARMmbed/mbed-os.git
Tests - use MBED_ALIGN instead of specific compiler attributes
This fixes the build of vector realloc test for all compilerspull/2094/head
parent
ce830296d0
commit
529da7c43e
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#include "test_env.h"
|
||||
#include "cmsis_nvic.h"
|
||||
#include "toolchain.h"
|
||||
#include <string.h>
|
||||
|
||||
#if defined(TARGET_SAMR21G18A) || defined(TARGET_SAMD21J18A) || defined(TARGET_SAMD21G18A)
|
||||
|
|
@ -31,7 +32,7 @@ DigitalOut out(PIN_OUT);
|
|||
DigitalOut myled(LED1);
|
||||
|
||||
volatile int checks = 0;
|
||||
uint32_t int_table[NUM_VECTORS] __attribute__ ((aligned(256)));
|
||||
uint32_t int_table[NUM_VECTORS] MBED_ALIGN(256);
|
||||
|
||||
#define FALLING_EDGE_COUNT 5
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue