Problem with multiple definition of UART callbacks when compiling in Arduino IDE using STM32duino.
I am trying to setup UART via DMA on STM32L432 Nucleo-32 to read NMEA data from NEO 6M GPS peripheral. I am using Arduino IDE for compiling. However, when I compile I am getting a multiple definition error on void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart) and void HAL_UART_ErrorCallback(UART_HandleTypeDef *huart). I checked the underlying files and found that these procedures are also defined in uart.c ( in STM32duino files) which are not weak definitions. My question is how do I use these interrupt callback routines given the above issue. Thanks for your help.
FYI I was able to setup the above microcontroller to work using polling UART without any issues. So I know that the hardware is correctly setup.
