diff options
Diffstat (limited to 'testhal')
-rwxr-xr-x | testhal/STM32/multi/SPI/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testhal/STM32/multi/SPI/main.c b/testhal/STM32/multi/SPI/main.c index f41e17fc0..852f5107b 100755 --- a/testhal/STM32/multi/SPI/main.c +++ b/testhal/STM32/multi/SPI/main.c @@ -17,13 +17,14 @@ #include "ch.h"
#include "hal.h"
+#include "ccportab.h"
#include "portab.h"
/*
* SPI TX and RX buffers.
*/
-static uint8_t txbuf[512];
-static uint8_t rxbuf[512];
+CC_ALIGN(32) static uint8_t txbuf[512];
+CC_ALIGN(32) static uint8_t rxbuf[512];
/*
* SPI bus contender 1.
|