Hi. Can I add a Kconfig file in addition to the default ones (Kconfig.projbuild and Kconfig)?
I've found only the argument KCONFIG of idf_component_register, but this argument overrides the default Kconfig file.
Additional Kconfig file
-
- Posts: 9765
- Joined: Thu Nov 26, 2015 4:08 am
Re: Additional Kconfig file
Can you give a bit more context on what you want and why you want that? In general, you can include other KConfig files from a KConfig file, so if you simply want to make your KConfig more modular, that would be an option.
Re: Additional Kconfig file
More context: I have to distribute a component as a static library. In the app that uses my component, I want to pass to the initialize function a configuration structure that holds some Kconfig values.ESP_Sprite wrote: ↑Sat Dec 10, 2022 2:46 amCan you give a bit more context on what you want and why you want that? In general, you can include other KConfig files from a KConfig file, so if you simply want to make your KConfig more modular, that would be an option.
The question is: where do I put the component-related Kconfig file?
Who is online
Users browsing this forum: Bing [Bot] and 205 guests