[DOC] idf.py menuconfig breaks when cbor not added as dependency to the project
Closed this issue · 10 comments
Describe the issue
ESP-IDF 5+: cbor was moved from esp-idf to the component registry (docs), therefore when trying to run idf.py menuconfig I got the error, that component cbor could not be resolved. Please update the DOCs for the further users.
What needs to be done before idf.py menuconfig:
run idf.py add-dependency "espressif/cbor^0.6.0~1" in the project directory.
Component registry dependency cbor can be found here.
Reference
Look here. Nothing about cbor.
Screenshot
Before adding cbor:

+got menuconfig working
Browser
N/A
@ edit:
This does not work at all with the newest ESP-IDF version. When trying to flash I get this error:

Thank you for information, we will look into it and get back to you soon
Hi, the versions of some of the libraries used in this repo are not compatible with IDF 5.0. For now, I would recommend using IDF 4.4.
If IDF 5.0 is needed at the moment, you can try updating the OTA library to the main branch.
Hi @padaszewski
Any updates on the suggestions provided by @archigup .
Thanks
Hi @kar-rahul-aws,
I've just used an older library and example from espressiff's repository. I wanted to proceed with IDF 5.0.
It may work with 4.4, however it would be good to update this to 5.0 and also add the examples for other boards.
Feel free to close the issue if You know You won't extend this.
@padaszewski
Pullrequest #20 is sitting there for a while, you can take a look at it. On my side the commit from 3rd january works almost as expected with ESP-IDF v5.0.1. The only thing i noticed is that the sub_pub_unsub demo task tends to hang randomly within the first hour on my ESP32S3 board. I am still investigating why.
I can not get later commits of that PR work on my side, apparently something changed about how things work with the certificates. So either that is broken or i miss what has been changed there.
Hey @padaszewski, the Pull Request that @idea--list mentioned has been merged into mainline. I ran the idf.py menuconfig command you mentioned and am not seeing the cbor error you were referring to. I was wondering if you'd be able to try the idf.py menuconfig command out again to see if this fixes your issue. If it doesn't I'd greatly appreciate it if you could provide the error your receive so we can help you debug your issue.
Hi there @Skptak, sure, will do, however I'm currently busy on other topics so it can take me one or even two weeks to come back to this.
Hey @padaszewski, it's been a few weeks since this change was merged into mainline. I wanted to reach out and ask if you've had a chance to try it yet?
@padaszewski marking this as closed for now. If you run into any further issues feel free to re-open this issue or to create a new one!
Hi @Skptak
Sorry, I had no chance to try this. Doing currently other things. Maybe I can delegate this.
Closing is okay for me, hope this works now!
Thx for the information!
