当有报错信息为:error: #20: identifier "xxx" is undefined 且xxx为库文件的内容,但go definition of又能找到库函数文件时 打开stm32f10x_conf.h文件,去掉所需头文件的注释即可