用3.5库文件出错,求解答!

2019-08-19 19:38发布

D:MDKARMINCSTSTM32F10xcortexm3_macro.h(34): error:  #20: identifier "u32" is undefined
D:MDKARMINCSTSTM32F10xcortexm3_macro.h(35): error:  #20: identifier "u32" is undefined
D:MDKARMINCSTSTM32F10xcortexm3_macro.h(36): error:  #20: identifier "u32" is undefined
D:MDKARMINCSTSTM32F10xcortexm3_macro.h(37): error:  #20: identifier "u32" is undefined
D:MDKARMINCSTSTM32F10xcortexm3_macro.h(38): error:  #20: identifier "u32" is undefined
D:MDKARMINCSTSTM32F10xcortexm3_macro.h(39): error:  #20: identifier "u32" is undefined
D:MDKARMINCSTSTM32F10xcortexm3_macro.h(42): error:  #20: identifier "u32" is undefined
D:MDKARMINCSTSTM32F10xcortexm3_macro.h(45): error:  #20: identifier "u32" is undefined
D:MDKARMINCSTSTM32F10xcortexm3_macro.h(46): error:  #20: identifier "u32" is undefined
D:MDKARMINCSTSTM32F10xcortexm3_macro.h(47): error:  #20: identifier "u32" is undefined
D:MDKARMINCSTSTM32F10xcortexm3_macro.h(48): error:  #20: identifier "u16" is undefined
D:MDKARMINCSTSTM32F10xcortexm3_macro.h(48): error:  #20: identifier "u16" is undefined
D:MDKARMINCSTSTM32F10xcortexm3_macro.h(49): error:  #20: identifier "u32" is undefined
D:MDKARMINCSTSTM32F10xcortexm3_macro.h(49): error:  #20: identifier "u32" is undefined
D:MDKARMINCSTSTM32F10xstm32f10x_map.h(38): error:  #20: identifier "vu32" is undefined
D:MDKARMINCSTSTM32F10xstm32f10x_map.h(39): error:  #20: identifier "vu32" is undefined
D:MDKARMINCSTSTM32F10xstm32f10x_map.h(40): error:  #20: identifier "vu32" is undefined
D:MDKARMINCSTSTM32F10xstm32f10x_map.h(41): error:  #20: identifier "vu32" is undefined
D:MDKARMINCSTSTM32F10xstm32f10x_map.h(42): error:  #20: identifier "vu32" is undefined
D:MDKARMINCSTSTM32F10xstm32f10x_map.h(43): error:  #20: identifier "vu32" is undefined
D:MDKARMINCSTSTM32F10xstm32f10x_map.h(44): error:  #20: identifier "vu32" is undefined
D:MDKARMINCSTSTM32F10xstm32f10x_map.h(45): error:  #20: identifier "vu32" is undefined
D:MDKARMINCSTSTM32F10xstm32f10x_map.h(46): error:  #20: identifier "vu32" is undefined
D:MDKARMINCSTSTM32F10xstm32f10x_map.h(47): error:  #20: identifier "vu32" is undefined
D:MDKARMINCSTSTM32F10xstm32f10x_map.h(48): error:  #20: identifier "vu32" is undefined
D:MDKARMINCSTSTM32F10xstm32f10x_map.h(49): error:  #20: identifier "vu32" is undefined
D:MDKARMINCSTSTM32F10xstm32f10x_map.h(50): error:  #20: identifier "vu32" is undefined
D:MDKARMINCSTSTM32F10xstm32f10x_map.h(51): error:  #20: identifier "vu32" is undefined
D:MDKARMINCSTSTM32F10xstm32f10x_map.h(52): error:  #20: identifier "vu32" is undefined
D:MDKARMINCSTSTM32F10xstm32f10x_map.h(53): error:  #20: identifier "vu32" is undefined
..USERsrcmain.c - 30 Error(s), 0 Warning(s).
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
4条回答
正点原子
1楼-- · 2019-08-19 19:44
看教程.
正点原子
2楼-- · 2019-08-19 19:47
<stm32开发指南>库函数版本.
chenzijian1988
3楼-- · 2019-08-19 21:03
遇到了同样的问题,.SYSTEMsys.h(70): error:  #20: identifier "u32" is undefined。可是我在include path里面已经包含了各种 h 文件的路径了啊。
菜鸟L
4楼-- · 2019-08-19 21:48
数据类型的别名定义在stdint.h文件中,这个文件在建立工程或者编译工程的时候会自动寻找,如果没有的话可以到别的工程寻找然后手动添加。

一周热门 更多>