KConfig files

ervays
Posts: 5
Joined: Tue Apr 04, 2017 11:33 am

KConfig files

Postby ervays » Wed Apr 19, 2017 8:01 am

Hi,

I'm trying to create a nice KConfig menu. I have different components and I'd like to have all the KConfig code that needs a component in the same file.

I know I can do it just writting inside the KConfig files inside my Components.


What I'd like to do is a bit more tricky. I would like to have my own menu in wich I have some source "$COMPONENT_PROJBUILD".
The problem is, if I have project in wich I have the following folders(just a piece):

----Main
--------------->KConfig-->MENU MAIN
----Component
----------ComponentA
---------------->KConfig--->MENU A
----------ComponentB
---------------->KConfig--->MENU B

I would like to have in the KConfig Menu a menu from Main and inside that menu different menus, one for each KConfig file from each component. Should look like this:

----KConfigMenu
--------MENUMAIN
------------MENU A
------------MENU B


Inside the make folder of esp-idf. There is file called project_config where I can define my own variables. I'd like to do the following:

-Do not include all KConfig files inside the project.
-Include only MENU KConfig file.
-Inside MENU KConfig file, include Kconfig file from menu a and b.


Does anyone know how to achieve this?


Cheers!

Who is online

Users browsing this forum: Baidu [Spider], markkuk and 67 guests