標(biāo)題: error: #256: invalid redeclaration of type name "s32" (declared [打印本頁]

作者: lianyiqun    時間: 2015-7-8 22:35
標(biāo)題: error: #256: invalid redeclaration of type name "s32" (declared
stm32中的錯誤以及排除方法:
1、error: #256:invalid redeclaration of type name "s32" (declared at line 470 of"C:\Keil_STM32\ARM\INC\ST\STM32F10x\stm32f10x.h")

解決方法:打開stm32f10x_conf.h文件,將第21行的“#include"stm32f10x_type.h"”注釋掉,再保存stm32f10x_conf.h文件,重新編譯即可。






歡迎光臨 (http://www.torrancerestoration.com/bbs/) Powered by Discuz! X3.1