编译报错Library reports error: __use_no_semihosting was requested, but a semihosting fgetc was linked in

编译程序的时候出现以下错误,试了好多方法,最后一种解决了我的问题

方法一:勾选MicroLIB

方法二:在uart.h文件中增加

方法三:修改uart.h文件内容

猜你喜欢

转载自blog.csdn.net/shenqijiji/article/details/128550595