From 7540eb36639f35b71c543d1d80da998f909aa139 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Fri, 5 Jan 2018 10:21:49 +0000 Subject: Added portability include path to the various startup.mk files. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11227 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/STM32/multi/SPI/main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'testhal/STM32/multi/SPI/main.c') 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. -- cgit v1.2.3