2021-01-24 04:26 AM
I took the "Examples\UART\UART_Printf" as reference and added the EmbOS. Printf worded with embOS.
In some steep, after project clean or some project changes, the printf stopped to work.
Uart works.
I use STM32CubeIDE.
What can be a reason?
Solved! Go to Solution.
2021-01-24 06:05 AM
Hello
define fputc function like this
int fputc (int ch, FILE * stream)
{
HAL_UART_Transmit(&huart1,(unsigned char*)&ch,1,100);
return ch;
}
This is also an good article about semihosting in CubeIde
2021-01-24 06:05 AM
Hello
define fputc function like this
int fputc (int ch, FILE * stream)
{
HAL_UART_Transmit(&huart1,(unsigned char*)&ch,1,100);
return ch;
}
This is also an good article about semihosting in CubeIde