[solved] IDF5.1.2/ADF2.6 - not-required components keep appearing in project after use of menuconfig (nghttp,jsmn)

bs-eng
Posts: 30
Joined: Wed Oct 28, 2020 8:19 pm

[solved] IDF5.1.2/ADF2.6 - not-required components keep appearing in project after use of menuconfig (nghttp,jsmn)

Postby bs-eng » Tue Apr 23, 2024 2:46 pm

Hi all!
My setup is:
Operating System: windows 10
Java Runtime Version: 17.0.10+7
Eclipse Version: 4.30.0.v20231201-0110 (2023-12)
Eclipse CDT Version: 11.4.0.202309142347
IDF Eclipse Plugin Version: 2.12.0.202312220530
ESP-IDF v5.1.2
ESP-ADF v2.6
Python set for IDF_PYTHON_ENV: Python 3.12.2

After upgrading to IDFv5.1.2 and ADFv2.6 I am observing that two managed components are automatically added to my project when I build it. These components seem to be used only for menuconfig to edit the sdkconfig. It is nghttp and jsmn. Also a file named dependencies.lock starts appearing in the project root folder.
My project does not use these components at all.

Is that expected behaviour?
Can I safely ignore these components? E.g. put them on the gitignore list?
Do they eat up any memory in my project?

Thanks a lot!
Cheers
JR
Last edited by bs-eng on Thu Jun 06, 2024 11:43 am, edited 1 time in total.

douglasbaird
Posts: 3
Joined: Sun Apr 21, 2024 6:25 pm

Re: IDF5.1.2/ADF2.6 - not-required components keep appearing in project after use of menuconfig (nghttp,jsmn)

Postby douglasbaird » Wed Apr 24, 2024 7:02 am

Hello,
1. Yes, it is expected behavior with the updated versions of IDF and ADF. These components are included to support the menuconfig feature and provide options for configuring the sdkconfig file.

2. Yes, you can safely ignore these components and add them to your gitignore list if they are not relevant to your project. Since you mentioned that your project does not use these components, it is safe to exclude them from version control.

3. These components do take up some space in your project directory, but they do not consume memory during runtime as they are not being used by your project. They primarily serve as menuconfig options for configuration purposes.

bs-eng
Posts: 30
Joined: Wed Oct 28, 2020 8:19 pm

Re: IDF5.1.2/ADF2.6 - not-required components keep appearing in project after use of menuconfig (nghttp,jsmn)

Postby bs-eng » Wed Apr 24, 2024 7:46 am

Thank you so much for clarifying, douglasbaird!

Who is online

Users browsing this forum: Gaston1980, Google Feedfetcher, Majestic-12 [Bot] and 179 guests