msp432p401lp-cc256x: reserve 16 dma channel control structure (8 channels * 2 pri/alt)

This commit is contained in:
Matthias Ringwald 2020-11-24 22:26:41 +01:00
parent 49845b4368
commit 20d2b70ca1

View File

@ -170,10 +170,10 @@ void hal_led_toggle(void){
#include "hal_uart_dma.h"
// DMA Control Table
// if not all channels are used, the alignment can be finer
// 8 channels are implemented => 16 channel control data structures (a 16 bytes) are needed
// GCC
__attribute__ ((aligned (1024)))
static DMA_ControlTable MSP_EXP432P401RLP_DMAControlTable[32];
__attribute__ ((aligned (256)))
static DMA_ControlTable MSP_EXP432P401RLP_DMAControlTable[16];
// RX Ping Pong Buffer - similar to circular buffer on other MCUs
#define HAL_DMA_RX_BUFFER_SIZE 64