为什么在STM8S10在STVD添加串口库函数uart1会出现这么多报错:
#error cpstm8 ..librariessrcstm8s_uart1.c:51(19+2) bad struct/union operand
#error cpstm8 ..librariessrcstm8s_uart1.c:52(19+2) bad struct/union operand
#error cpstm8 ..librariessrcstm8s_uart1.c:54(11+4) bad struct/union operand
#error cpstm8 ..librariessrcstm8s_uart1.c:55(11+4) bad struct/union operand
#error cpstm8 ..librariessrcstm8s_uart1.c:57(11+3) bad struct/union operand
#error cpstm8 ..librariessrcstm8s_uart1.c:58(11+3) bad struct/union operand
#error cpstm8 ..librariessrcstm8s_uart1.c:59(11+3) bad struct/union operand
#error cpstm8 ..librariessrcstm8s_uart1.c:60(11+3) bad struct/union operand
#error cpstm8 ..librariessrcstm8s_uart1.c:61(11+3) bad struct/union operand
#error cpstm8 ..librariessrcstm8s_uart1.c:63(11+3) bad struct/union operand
#error cpstm8 ..librariessrcstm8s_uart1.c:64(11+4) bad struct/union operand
#error cpstm8 ..librariessrcstm8s_uart1.c:51(12+5) UART1 undefined
#error cpstm8 ..librariessrcstm8s_uart1.c:98(11+3) bad struct/union operand
#error cpstm8 ..librariessrcstm8s_uart1.c:99(11+3) bad struct/union operand
#error cpstm8 ..librariessrcstm8s_uart1.c:101(11+3) bad struct/union operand
#error cpstm8 ..librariessrcstm8s_uart1.c:102(11+3) bad struct/union operand
..................................
................
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
一周热门 更多>