手把手教你安装Dism++系统优化工具 Dism++下载安装及空间回收使用教程
2026/6/16 17:36:10
#ifdef __GNUC__ #define PUTCHAR_PROTOTYPE int __io_putchar(int ch) //对于CLion使用的arm-none-eabi-gcc #else #define PUTCHAR_PROTOTYPE int fputc(int ch, FILE *f) //对于MDK-ARM用的ARMCC编译器 #endif PUTCHAR_PROTOTYPE { HAL_UART_Transmit(&huart1, (const uint8_t *)&ch, 1, 1000); return ch; }