找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
楼主: flit1
打印 上一主题 下一主题
收起左侧

STM8 RS485的modbus通迅(主机及从机)程序代码

  [复制链接]
楼主
ID:137005 发表于 2020-3-8 10:49 | 显示全部楼层
这个从机模式编译出现这个,是什么问题啊?


Compiling c\main.c...
cxstm8 +warn +mods0 +debug -pxp +split -pp -l -isrc\h -istm8sfwlib_v1.1.1\fwlib\library\inc -ih -iF:\0_Soft\en.stvd-stm8\CXSTM8\Hstm8  -clDebug\ -coDebug\ c\main.c
#error cpstm8 c\main.c:23(17+6) incompatible types in struct/union assignment
c\main.c:
The command: "cxstm8 +warn +mods0 +debug -pxp +split -pp -l -isrc\h -istm8sfwlib_v1.1.1\fwlib\library\inc -ih -iF:\0_Soft\en.stvd-stm8\CXSTM8\Hstm8  -clDebug\ -coDebug\ c\main.c" has failed, the returned value is: 1
exit code=1.

bacfull.elf - 3 error(s), 1 warning(s)
回复

使用道具 举报

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

本版积分规则

手机版|小黑屋|51黑电子论坛 |51黑电子论坛6群 QQ 管理员QQ:125739409;技术交流QQ群281945664

Powered by 单片机教程网

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