zephyr/doc/guides/kconfig
Torsten Rasmussen 212c336400 cmake: extend support for conf file and board overlays
Fixes: #27934

This commit introduces additional naming support of config files.

It is now possible to create a config file of the form
`prj_<build>.conf` and automatically have a corresponding
`boards/<BOARD>_<build>.conf` config file merged.

As example, one can create a structure as:
|-- prj.conf
|-- prj_debug.conf
|-- boards
      |-- nrf52840dk_nrf52840.conf
      |-- nrf52840dk_nrf52840_debug.conf

when building: (existing behavior)
cmake -DBOARD=nrf52840dk_nrf52840 ...
prj.conf is merged with nrf52840dk_nrf52840.conf

when building: (new behavior)
cmake -DBOARD=nrf52840dk_nrf52840 -DCONF_FILE=prj_debug.conf ...
prj_debug.conf is merged with nrf52840dk_nrf52840_debug.conf

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2020-09-04 17:52:27 +02:00
..
extensions.rst doc: kconfig: Move extension docs from porting guide to user guide 2019-12-09 17:33:36 +01:00
guiconfig-jump-to.png doc: kconfig: Move menuconfig/guiconfig docs to user guide 2019-12-09 17:33:36 +01:00
guiconfig.png doc: kconfig: Move menuconfig/guiconfig docs to user guide 2019-12-09 17:33:36 +01:00
index.rst doc: kconfig: Add Kconfig intro to index page 2019-12-09 17:33:36 +01:00
menuconfig-jump-to.png doc: kconfig: Move menuconfig/guiconfig docs to user guide 2019-12-09 17:33:36 +01:00
menuconfig-quit.png doc: kconfig: Move menuconfig/guiconfig docs to user guide 2019-12-09 17:33:36 +01:00
menuconfig.png doc: kconfig: Move menuconfig/guiconfig docs to user guide 2019-12-09 17:33:36 +01:00
menuconfig.rst doc: kconfig: Put all documentation on setting symbols on a new page 2019-12-09 17:33:36 +01:00
preprocessor-functions.rst doc: kconfig: Touch up preprocessor docs and put it on a separate page 2019-12-09 17:33:36 +01:00
setting.rst cmake: extend support for conf file and board overlays 2020-09-04 17:52:27 +02:00
tips.rst doc: write documentation about DT-based device instantiation 2020-05-08 19:37:18 -05:00