Component Manager - how to disable?

Jorgen
Posts: 50
Joined: Fri Dec 09, 2022 11:39 am

Component Manager - how to disable?

Postby Jorgen » Tue Jun 18, 2024 6:57 pm

I started running the USB host MSC example. Once created I ran idf.py set-target esp32s3. Then all dependencies were resolve and the example project worked perfectly. The project includes a folder managed_components.

My goal is to replace the file system with my own implementation, hence I need to edit the managed components and disable the Component Manager that runs each time I build the project.

I have searched the internet and the ESP-IDF documentation for how to disable the Component Manager, but I have not succeeded.

In the ESP-IDF documentation is stated that the Component Manager can be disabled by setting the environment variable IDF_COMPONENT_MANAGER to 0, but I can't find that variable. Where is it? I use Visual Studio Code and esp-idf version 5.1.1.

On the internet someone suggested deleting espressif/esp_websocket_client row from the idf_component.yml manifest file, but it does not kill the Component Manager even deleting the complete idf_component.yml file.

Please, how do I disable the Component Manager effectively using esp-idf version 5.1.1?

Regards,
Jorgen

Who is online

Users browsing this forum: ulaoulao and 126 guests