Closed JanneKiiskila closed 2 months ago
The documentation defaults to using the latest esp-thread-br
commit. If you follow the instructions, the esp-thread-br
after git clone
should be on the current latest commit, allowing for successful compilation. If you manually switched to another commit, it may lead to some compilation issues.
You can manually switch to the latest commit and try again. For example, you can switch to the main
branch.
Additionally, the esp-thread-br tag: v1.0 has its corresponding esp-idf branch. Please refer to: https://github.com/espressif/esp-thread-br/releases/tag/v1.0.
You can either use the versions specified in the v1.0 release tag:
Or the versions specified in the latest docs page:
Both the above version combinations work without any problem. It also works if you want to build with some different version combination, but need to change some default configurations, for example: https://github.com/espressif/esp-thread-br/issues/94#issuecomment-2359901165.
We are working on a new v1.1 release, which will be based on IDF v5.3.1.
Checklist
How often does this bug occurs?
always
Expected behavior
Based on the documentation:
https://docs.espressif.com/projects/esp-thread-br/en/latest/dev-guide/build_and_run.html#set-up-the-repositories
You are asked to checkout specifically the SDK version v5.1.3 but not to check any specific version of the example itself.
SDK:
Example:
However, that picks a the floating tip of main - which as of today at least - gets you a version which will fail the compilation. You must use version v1.0, instead. The OpenThread instructions have this right:
Easy fix - add the
-b v1.0
to the documentation. Document in a README.md or similar with version of the SDK the example assumes.Actual behavior (suspected bug)
Build fails.
Error logs or terminal output