新手入门
- 积分
- 27
- 金钱
- 27
- 注册时间
- 2013-8-31
- 在线时间
- 0 小时
|
为什么在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
..................................
................
|
|