Best practice for show NMEA NEO-6M data with UART printf?
Hello everyone, I tried to implement a CMSIS-based STM32F103C8T6 NMEA receiver from NEO-6M. Still, I enabled receiver mode on USART1, then implemented printf on USART2, an efficient way to implement it, I think. I can implement a method like this:
USART1 RX (receive nmea) --> DMA like ch15 ---> RAM --> DMA like ch14 ----> USART2 TX (printf)
Please help me, and give me some advice on writing better code
UPDATE: Please for better understanding, check last line on main() in this code "https://github.com/yousefsmt/GSM-GPS-Telemetry/tree/feature/add-peripheral"