Loading...
 

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 (registration required) various documents 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
https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/AllItems.aspxQuestion
I’m currently trying an embedded derivative xprint and tying into a circular buffer - probably my own but another example here
https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=https%3a%2f%2fmy%2est%2ecom%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fcortex_mx_stm32%2fHAL_UART_Transmit_IT%20not%20working%20as%20expected&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&currentviews=42Question