2019-08-25 04:36 PM
Hello,
I am reading a sensor on m4 side. And debugging in production mode for the target.
I have called printf function in main.c but I cant see anything when I run the program.
Is it normal that I cant see any console while the program running ?
Solved! Go to Solution.
2019-08-25 08:49 PM
By default printf would do absolutely nothing, since there is no peripheral associated with stdout. You need to write your own _write() system call function.
To make _write() print out to the host Cortex-A, you probably want to look at OpenAMP examples in STM32CubeMP1.
2019-08-25 08:49 PM
By default printf would do absolutely nothing, since there is no peripheral associated with stdout. You need to write your own _write() system call function.
To make _write() print out to the host Cortex-A, you probably want to look at OpenAMP examples in STM32CubeMP1.
2019-08-25 11:07 PM
I understand, thank you very much