5 Package Importing (freemodbus)

Created at 2023-01-19 23:37:31

I have a Pico and I am able to run some basic RT-Thread examples. Now I am trying to import the freemodbus package (https://github.com/RT-Thread-packages/freemodbus). After importing, I see the package in the packages folder as expected. I also used the RT-Thread package configuration settings to include the slave and master demos.
image.png
After building the project, I am seeing this and I am not sure what to do. image.png
Per the documentation, I am trying to get to this point: image.png

Any guidance would be appreciated!

更多

Follower
0
Views
928
3 Answers
jbro
jbro 2023-01-21

Can someone please select "take this answer"? Refer to the github link for the source of the original issue: ALIGN changed to rt_align

Hi, in version 5.0.0-dev, we modified ALIGN as rt_align, or you can enable this:
image.png

jbro
jbro 2023-01-20

144F68C5-56ED-4778-B90A-1D4C7E9B74B2.jpeg

FYI this fixed my issue!

Malickee
Malickee 2025-05-07

I am also using Pico with RT-Thread and have tried freemodbus — you have imported it and it is in the folder, so it is correct. If you have enabled demo in config and it is not working, make sure Kconfig and SConscript are updated correctly. Also check if you have declared the correct UART port or interface.
Geometry Dash https://club.rt-thread.io/ask/question/133.html

Write Your Answer

Log in to publish your answer,Click here to log in.

Create
Post

Share