diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-01-05 10:21:49 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-01-05 10:21:49 +0000 |
commit | 7540eb36639f35b71c543d1d80da998f909aa139 (patch) | |
tree | c9d436bfc22b44782941a171d04b1cbbec288189 /testhal/STM32 | |
parent | dff9e162855eaafe4aa6e2d6d9f4ad48a0ac85a5 (diff) | |
download | ChibiOS-7540eb36639f35b71c543d1d80da998f909aa139.tar.gz ChibiOS-7540eb36639f35b71c543d1d80da998f909aa139.tar.bz2 ChibiOS-7540eb36639f35b71c543d1d80da998f909aa139.zip |
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
Diffstat (limited to 'testhal/STM32')
-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.
|