Hello. I have read through the website that you have suggested, unfortunately still cannot fully understand how printing to console works and differs from printing to any other serial console.
I am able to print to serial console ( see image4 in the attachments).
I have tried replacing the _write with whatever has been suggested in that website:
int _write(int file, char *data, int len)
if ((file != STDOUT_FILENO) && (file != STDERR_FILENO))
errno = EBADF;
// arbitrary timeout 1000
HAL_StatusTypeDef status =
HAL_UART_Transmit(&huart3, (uint8_t*)data, len, 1000);
// return # of bytes written - as best we can tell
return (status == HAL_OK ? len : 0);
However, still no text appearing in cubeIDE console window. How can it work in serial terminal but not the cubeIDE console?