解決:使用Keil5重寫fputc出現 error:unkonwn type name ‘FILE‘

解決:使用Keil5重寫fputc出現 error:unkonwn type name ‘FILE’ STM32F103串口應用——printf的實現 【操作步驟】 如下圖所示,勾選Use MicroLIB 引入頭文件 #include <stdio.h> 重寫fputc int fputc(int ch, FILE *f) { while(!(USART1->SR & (1<<7))); USA
相關文章
相關標籤/搜索