You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I find a C test framework for embedded, I find this but have a problem with the printf, puts function like a other function in stdio.h. So how can I redirect the printf.
The text was updated successfully, but these errors were encountered:
The macro MUNIT_OUTPUT_FILE might be useful. At a glance, it seems to handle most of the library's main output. (Help message is hard-coded to printf, puts though.)
Isn't this is often something that is provided by the board support package for your embedded system? The BSP that gets generated with my Xilinx Arm Cortex-M processor has a configuration file that indicates what uart the printf function outputs to.
I find a C test framework for embedded, I find this but have a problem with the printf, puts function like a other function in stdio.h. So how can I redirect the printf.
The text was updated successfully, but these errors were encountered: