Re: Custom configuration options
Michael Rosen
Scott,
toggle quoted messageShow quoted text
I haven’t had the chance to try this on newer version of Zephyr (this is from a Zephyr 1.7 project), but this is how I added project Kconfig's: 1) In you project's Makefile, add the following: KBUILD_KCONFIG = $(PWD)/Kconfig export KBUILD_KCONFIG 2) In your project's main directory (same directory as the Makefile), create a file named Kconfig, and put this in it: mainmenu "[Project Name Here] Configuration" config PROJECT_BASE string option env="PROJECT_BASE" source "Kconfig.zephyr" source "$PROJECT_BASE/src/Kconfig" You can now create an entire Kconfig tree in your src directory, starting with src/Kconfig. Mike
-----Original Message-----
|
|