mysterywolf / uC-Modbus-for-RT-Thread

Micrium uC/Modbus for RT-Thread
https://doc.micrium.com/pages/viewpage.action?pageId=10753125
Apache License 2.0
4 stars 1 forks source link

Build Error #4

Open j-broome opened 1 year ago

j-broome commented 1 year ago

After adding the package and including the mb.h header file, initializing the uC/Modbus, and setting up a channel, the compiler complains about an undefined reference in os_rtwrap.c. See the image below for reference. Anything I can do to try to bypass this error?

image

j-broome commented 1 year ago

I tried updating the kernel, but same problem. Is this a bug in the uCOS-III wrapper or am I not including a necessary file?

mysterywolf commented 1 year ago

Hi, if you want to use modbus, I suggest you to use https://github.com/loogg/agile_modbus , which is a rt-thread software package, and its maintainer often online.

There is no problem uCOS-III Wrapper itself, but there is some problem of uC-Modbus, I didn't finish to move it to RT-Thread.