From b9509bee9f026fe0b9b9bf7b34ee96cdd981d987 Mon Sep 17 00:00:00 2001 From: Rocco Marco Guglielmi Date: Thu, 19 Aug 2021 08:53:47 +0000 Subject: [PATCH] FiFixed bug #1175 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14667 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- readme.txt | 2 ++ testex/STM32/STM32F7xx/SPI-ADXL355/main.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/readme.txt b/readme.txt index 12b58c26e..2656c4a92 100644 --- a/readme.txt +++ b/readme.txt @@ -74,6 +74,8 @@ ***************************************************************************** *** Next *** +- FIX: Fixed wrong macro in the demo STM32F7xx-SPI-ADXL355 (bug #1175) + (backported to 21.6.1). - FIX: Fixed problem with RC initialization mask of the GPIO for the STM32L4x3 (bug #1174) (backported to 20.3.4). - FIX: Fixed problem with N25Q driver (bug #1173) diff --git a/testex/STM32/STM32F7xx/SPI-ADXL355/main.c b/testex/STM32/STM32F7xx/SPI-ADXL355/main.c index 87baea589..e77c29fbe 100644 --- a/testex/STM32/STM32F7xx/SPI-ADXL355/main.c +++ b/testex/STM32/STM32F7xx/SPI-ADXL355/main.c @@ -29,8 +29,8 @@ /* * SPI TX and RX buffers. */ -CC_ALIGN(32) static uint8_t txbuf[32]; -CC_ALIGN(32) static uint8_t rxbuf[32]; +CC_ALIGN_DATA(32) static uint8_t txbuf[32]; +CC_ALIGN_DATA(32) static uint8_t rxbuf[32]; /* ADXL355 Driver: This object represent an ADXL355 instance */ static ADXL355Driver ADXL355D1;