F4 dma buffer should not reside in CCM
This commit is contained in:
parent
2fe9d79903
commit
c2a37262a0
|
@ -44,9 +44,12 @@
|
||||||
|
|
||||||
#if defined(STM32F1) || defined(STM32F3)
|
#if defined(STM32F1) || defined(STM32F3)
|
||||||
uint8_t ledStripDMABuffer[WS2811_DMA_BUFFER_SIZE];
|
uint8_t ledStripDMABuffer[WS2811_DMA_BUFFER_SIZE];
|
||||||
#else
|
#elif defined(STM32F7)
|
||||||
FAST_RAM_ZERO_INIT uint32_t ledStripDMABuffer[WS2811_DMA_BUFFER_SIZE];
|
FAST_RAM_ZERO_INIT uint32_t ledStripDMABuffer[WS2811_DMA_BUFFER_SIZE];
|
||||||
|
#else
|
||||||
|
uint32_t ledStripDMABuffer[WS2811_DMA_BUFFER_SIZE];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
volatile uint8_t ws2811LedDataTransferInProgress = 0;
|
volatile uint8_t ws2811LedDataTransferInProgress = 0;
|
||||||
|
|
||||||
uint16_t BIT_COMPARE_1 = 0;
|
uint16_t BIT_COMPARE_1 = 0;
|
||||||
|
|
Loading…
Reference in New Issue