printf through uart
Hello everybody,
first of all thanks for your useful forum that have helped me several times.
I'm working on STM32F205 processor with HAL layer from STM32Cube and, for on field debug, I need to implement a serial console to log out some events and eventually send some commands on processor through it.
I've searched on this forum and on internet but I can't find informations that enable me to do that.
On Cube examples there is one with that purouse but, becuase of it was done for all development platforms supported, I think there are missed linker informations / libraries about link my custom fpuct (with my uart write procedure) to be used by printf.
My code with printf lines compile succesfully but no strings are sent to uart (and I don't know where they go).
On some sites I've found infos about implements stubs modules required by GCC (e.g. CodeSourcery toolchain has libcnano that already support this stubs for printf redirection).
Does anyone was involved on this issues ? or does anyone have some infos to set linker properly ?
Thanks in advance
Fabio