_NOCCM renamed to __DMA (which is 32bits aligned on Sky9x/9XR-PRO)

This commit is contained in:
Bertrand Songis
2015-08-08 00:16:51 +02:00
parent e136905e75
commit 4b0841b17d
6 changed files with 14 additions and 17 deletions
+5 -3
View File
@@ -212,10 +212,12 @@
#define ROTARY_ENCODER_NAVIGATION
#endif
#if defined(STM32F4)
#define _NOCCM __attribute__((section(".ram")))
#if defined(PCBSKY9X)
#define __DMA __attribute__((aligned(32)))
#elif defined(STM32F4)
#define __DMA __attribute__((section(".ram")))
#else
#define _NOCCM
#define __DMA
#endif
#if defined(SIMU) || defined(CPUARM) || GCC_VERSION < 472