I am using Codewarrior 10.5. while compiling a program in KL05Z32VLF4 I was getting the following error. I didn't get what the issue is and how to overcome this. Kindly help.
while evaluating I found out that in the below code when I am commenting "DMAT1_EnableChannel(dmap);" the error is not coming. I think it has something to do with DMA.
/*lint -restore Enable MISRA rule (6.3) checking. */
/* Write your local variable definition here */
/*** Processor Expert internal initialization. DON'T REMOVE THIS CODE!!! ***/
serial = AS1_Init(NULL);
dmap = DMAT1_Init(NULL);
UART0_C5_REG(UART0_BASE_PTR) = UART0_C5_RDMAE_MASK; //enable DMA on uart receiver
I am using the following DMA Settings