SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world.
And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download two short videos (registration required) highlighting:

System Workbench for STM32

You are viewing a reply to re-directing usart to printf  

re-directing usart to printf

I’ve had headaches with getting printf working.
There are some examples under CubeMX that work for the example.
When I do the same examples under another project they don’t work, and the ST-Link doesn’t step into the function either.
When printf is connected with HAL_UART_Transmit() it pends on the charaters being sent.
With the HAL_UART_Transmit_IT(), it transmit a user supplied buffer, but its not a circular buffer, so if a 2nd printf is invoked before the first buffer is empty, it looks to me like it would fail.
Technically since its CubeMX I think the place to ask is
I’m currently trying an embedded derivative xprint and tying into a circular buffer - probably my own but another example here