I wish printf would be a straightforward feature of the IDE so we don't have to work around. Step 2 : Modify the linker flag in the project properties. Opening the project with AC6 Workbench we should see something like this. For making float number print refer to the other posts in this thread. First add this to the bottom of your usart. I know its repetition but having the full solution in one post is very helpful.Įnable the Uart port and pins needed for the application in Cube or manually. Just to clarify the issue for future users. Now it works!!! Thank you so much BochT!! And Thank you to Syrine for his patience Here is what it showes. I added the flag and now when I want to print a float variable the function prints 0. Thank you, I followed your suggestion and now I'm able to use the printf function. They also help us to monitor its performance and to make our advertising and marketing relevant to you.īy clicking "Accept Cookies", you give your consent to their usage. Cookies and similar technologies enable us to provide you with an optimized user experience and functionality of our website.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |