How to call the function "_write (int file, char * ptr, int len)" when calling the function printf ("test")?
Hi.
I am using stm32cubeide version 1.2.0.
I am using stm32CubeMx version 5.6.1.
The "int _write (int file, char * ptr, int len)" function is not called when the printf ("test") function is called.
What did you do:
1. Added to Properties ---> c / c ++ Build ---> Settings ---> Linker ---> Miscellaneous ---> -u _printf_float and -u _scanf_float.
2. Added to the main () function, printf ("test");
3. Launched the program
4. Did not receive a call to "_write (int file, char * ptr, int len)" to transfer characters "test".
How can I solve my problem?
Thanks for your time.
