初级会员

- 积分
- 52
- 金钱
- 52
- 注册时间
- 2015-2-13
- 在线时间
- 7 小时
|

楼主 |
发表于 2017-5-13 00:04:49
|
显示全部楼层
本帖最后由 zhuyuxiao 于 2017-5-13 00:05 编辑
最近再结合HAL库的时候 借鉴到固件库的过程中出现了一下错误提示 搜索后发现实 新版 旧版 冲突 之类 也不是很明白 再求高人指点一下compiling fatfs.c...
..\user\stm32f10x.h(494): error: #20: identifier "__IO" is undefined
..\user\stm32f10x.h: typedef __IO int32_t vs32;
..\user\stm32f10x.h: ^
..\user\stm32f10x.h(494): error: #256: invalid redeclaration of type name "int32_t" (declared at line 39 of "C:\keilarm\ARM\RV31\INC\stdint.h")
..\user\stm32f10x.h: typedef __IO int32_t vs32;
..\user\stm32f10x.h: ^
..\user\stm32f10x.h(494): error: #65: expected a ";"
..\user\stm32f10x.h: typedef __IO int32_t vs32;
..\user\stm32f10x.h: ^
..\user\stm32f10x.h(495): error: #20: identifier "__IO" is undefined
..\user\stm32f10x.h: typedef __IO int16_t vs16;
..\user\stm32f10x.h: ^
..\user\stm32f10x.h(495): error: #256: invalid redeclaration of type name "int16_t" (declared at line 38 of "C:\keilarm\ARM\RV31\INC\stdint.h")
..\user\stm32f10x.h: typedef __IO int16_t vs16;
..\user\stm32f10x.h: ^
..\user\stm32f10x.h(495): error: #65: expected a ";"
..\user\stm32f10x.h: typedef __IO int16_t vs16;
..\user\stm32f10x.h: ^
..\user\stm32f10x.h(496): error: #20: identifier "__IO" is undefined
..\user\stm32f10x.h: typedef __IO int8_t vs8;
..\user\stm32f10x.h: ^
..\user\stm32f10x.h(496): error: #256: invalid redeclaration of type name "int8_t" (declared at line 37 of "C:\keilarm\ARM\RV31\INC\stdint.h")
..\user\stm32f10x.h: typedef __IO int8_t vs8;
..\user\stm32f10x.h: ^
..\user\stm32f10x.h(496): error: #65: expected a ";"
..\user\stm32f10x.h: typedef __IO int8_t vs8;
..\user\stm32f10x.h: ^
..\user\stm32f10x.h(498): error: #20: identifier "__I" is undefined
..\user\stm32f10x.h: typedef __I int32_t vsc32; /*!< Read Only */
|
|