mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 00:05:17 +03:00
_NOCCM renamed to __DMA (which is 32bits aligned on Sky9x/9XR-PRO)
This commit is contained in:
parent
e136905e75
commit
4b0841b17d
6 changed files with 14 additions and 17 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue