2022-12-29 11:35 AM
2022-12-29 01:47 PM
You may redirect printf output to any interface you like. See syscalls.c file in your project folder, then implement either write or io_putchar function.
2022-12-29 02:07 PM
You get to chose the plumbing, and bring up the UART / PIN, and the wrapper function __io_putchar()
You could make a TX only implementation.
USART1 is PA9 (TX) PA10 (RX)
https://gist.github.com/glegrain/ca92f631e578450a933c67ac3497b4df
2022-12-29 11:28 PM
Printf needs 1 tx pin only. Stlinkv3 support.uart to usb virtual com port on top of debugging function.
Otherwise, android bluetooth electronics app is a different way of debugging interactively and graphically, using hc06 uart to BT radio interface. Worth having a look.
2022-12-30 11:29 AM
Thanks