OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 4698|回复: 1

STVD添加库函数报错问题

[复制链接]

1

主题

3

帖子

0

精华

新手入门

积分
27
金钱
27
注册时间
2013-8-31
在线时间
0 小时
发表于 2014-1-17 17:59:02 | 显示全部楼层 |阅读模式
为什么在STM8S10在STVD添加串口库函数uart1会出现这么多报错:
#error cpstm8 ..\libraries\src\stm8s_uart1.c:51(19+2) bad struct/union operand
#error cpstm8 ..\libraries\src\stm8s_uart1.c:52(19+2) bad struct/union operand
#error cpstm8 ..\libraries\src\stm8s_uart1.c:54(11+4) bad struct/union operand
#error cpstm8 ..\libraries\src\stm8s_uart1.c:55(11+4) bad struct/union operand
#error cpstm8 ..\libraries\src\stm8s_uart1.c:57(11+3) bad struct/union operand
#error cpstm8 ..\libraries\src\stm8s_uart1.c:58(11+3) bad struct/union operand
#error cpstm8 ..\libraries\src\stm8s_uart1.c:59(11+3) bad struct/union operand
#error cpstm8 ..\libraries\src\stm8s_uart1.c:60(11+3) bad struct/union operand
#error cpstm8 ..\libraries\src\stm8s_uart1.c:61(11+3) bad struct/union operand
#error cpstm8 ..\libraries\src\stm8s_uart1.c:63(11+3) bad struct/union operand
#error cpstm8 ..\libraries\src\stm8s_uart1.c:64(11+4) bad struct/union operand
#error cpstm8 ..\libraries\src\stm8s_uart1.c:51(12+5) UART1 undefined
#error cpstm8 ..\libraries\src\stm8s_uart1.c:98(11+3) bad struct/union operand
#error cpstm8 ..\libraries\src\stm8s_uart1.c:99(11+3) bad struct/union operand
#error cpstm8 ..\libraries\src\stm8s_uart1.c:101(11+3) bad struct/union operand
#error cpstm8 ..\libraries\src\stm8s_uart1.c:102(11+3) bad struct/union operand
..................................
................

成功需要付出!
正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

38

主题

2061

帖子

6

精华

论坛大神

Rank: 7Rank: 7Rank: 7

积分
3273
金钱
3273
注册时间
2012-1-16
在线时间
37 小时
发表于 2014-1-17 22:11:59 | 显示全部楼层
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2024-9-30 08:34

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表