Skip to content

Instantly share code, notes, and snippets.

@JeonghunLee
Last active September 10, 2019 07:52
Show Gist options
  • Save JeonghunLee/1da9ed4d66b7fdc55267fb65d68fdf34 to your computer and use it in GitHub Desktop.
Save JeonghunLee/1da9ed4d66b7fdc55267fb65d68fdf34 to your computer and use it in GitHub Desktop.
STM32 GCC Printf
int __io_putchar(int ch)
{
HAL_UART_Transmit(&huart4, (uint8_t *)&ch, 1, 0xFFFF);
return ch;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment