一、添加freemodbus从机 1、配置RT-Thread Settings 2.开启board.h宏定义 3.根据需求配置modbus通讯参数 在main函数中初始化mb_slave_samlpe() 4.验证 下载modbus主机软件,安装到电脑上模拟从机设备。