Closed kotyara12 closed 1 year ago
Hello @kotyara12,
This compilation issue related to the freemodbus component moved to separate repository from esp-idf v5.0.0. Please see this change mentioned in migration guide and how to migrate to new esp-modbus component.
In order to repair your project you need just to add the manifest file to your pio_project_root_dir/src/
folder as below:
dependencies:
idf: ">=4.1"
espressif/esp-modbus:
version: "^1.0"
Then select in platformio: "PROJECT TASKS" - > "esp32dev" -> "General" -> "Clean All" -> "Build" The issue should be solved. If you still have the issues please place the compilation log here. idf_component.yml.log (remove log ext before use)
Thanks.
Thank you very much, this solved the problem. Sorry for being too emotional, but there are already a lot of surprises in this migration. There are a lot of things to rewrite.
Thank you very much, this solved the problem. Sorry for being too emotional, but there are already a lot of surprises in this migration. There are a lot of things to rewrite.
I understand this. No problem, feel free to submit an issue if you have any problems. Good luck!
After switching to ESP-IDF 5.0.0, all projects using Modbus RTU stopped compiling It is completely incomprehensible to me why it was necessary to break the working environment Downloaded this repo but it flatly refuses to compile