Release [2.1.1] 2025-09-30 #141
Replies: 4 comments 3 replies
-
|
Hello, the MB-TCP-Slave example cannot be compiled. The error: What would be the cause? |
Beta Was this translation helpful? Give feedback.
-
|
Hello, It is very strange. The component passed build and target tests under CI before release and the examples are build able under all supported IDF versions and functional. I think it is the issue with your environment. In order to find the reason for this I need the whole log the Update: Please also try to rename the Unfortunately, this is esp-idf make system constraint. The component folder which is pointed with Please let me know about the progress with the above. Thanks. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for your interest and update. I guess the issue still exists because you probably did not follow the above instruction or some steps are missed. I will try to clarify this. There are several variants to fix the issues. Let us go step by step:
7. `idf.py build` and wait while the compilation is completed, there should not be any error.
8. `idf.py -p /dev/ttyUSB#YourPort flash monitor`
10. You should see the log like below:
Means the tcp slave is listening on port 1502 on the address 192.168.99.254. So, you should be able to connect to 192.168.99.254:1502 using your modbus master application and configure it accordingly to access the slave register areas. Alternatively you can use the master example and configure it appropriately as described in the readme file.Please refer to the instructions in the slave tp example, master tcp readme. Alternatively, you can delete the line |
Beta Was this translation helpful? Give feedback.
-
|
Hi Alex: |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Added
Fixed
This discussion was created from the release Release [2.1.1] 2025-09-30.
Refer to the latest documentation for main project branch.
The component esp-modbus v2.1.1 in component manager.
Beta Was this translation helpful? Give feedback.
All reactions