STM32CubeIDE를 이용한 UART 로그 출력 설정.1. ioc 파일을 열어 UART1 을 활성화 한다. /* Private user code ---------------------------------------------------------*//* USER CODE BEGIN 0 */#ifdef __GNUC__ /* With GCC/RAISONANCE, small printf (option LD Linker->Libraries->Small printf set to 'Yes') calls __io_putchar() */ #define PUTCHAR_PROTOTYPE int __io_putchar(int ch)#else #define PUTCHAR_PROTOTYPE int fputc(..