main.c(32): warning: #1-D: last line of file ends without a newline函數
這個是因爲在main函數的「}」後,沒有加回車。spa
只要在main函數的「}」後加回車鍵,此警告信息便可消除。調試
C4056E type of input file 'xxx' unknownblog
經排查這個錯誤是MDK不支持路徑名中帶空格引發的,具體是Include文件夾中帶了空格的路徑input
改過名字後就能夠編譯了it