HELLO,
I'm currently working in the UART reception for the communication, I just modified the function name related to my application as flexcomm2 which is replaced for UART_TransferIRQ. When I called the function it gives conflicting error type. I doesn't seen any error using default example function UART_TransferIRQ. What will be the issue?
../drivers/fsl_usart.c:1113:6: error: conflicting types for 'FLEXCOMM2_DriverIRQHandler'; have 'void(USART_Type *, usart_handle_t *)' {aka 'void(USART_Type *, struct _usart_handle *)'}
1113 | void FLEXCOMM2_DriverIRQHandler(USART_Type*base, usart_handle_t*handle)
Hi @DHARSAN
Based on error messages,
Your previous declaration of "FLEXCOMM2_DriverIRQHandler" with type void(void)
So you should the declaration of "FLEXCOMM2_DriverIRQHandler" with void FLEXCOMM2_DriverIRQHandler(USART_Type *base, usart_handle_t *handle);
Hope this will help you.
BR
Hang