zephyr/doc/guides
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
..
bluetooth doc: update enumerator usage to :c:enumerator: 2020-08-31 09:57:33 -04:00
build
coding_guidelines
crypto
debugging doc: debugging: Add information about gdbstub 2020-09-02 20:54:57 -04:00
device_mgmt
documentation
dts doc: guides: dts: document inferred bindings for /zephyr,user 2020-09-04 07:41:19 -05:00
kconfig cmake: extend support for conf file and board overlays 2020-09-04 17:52:27 +02:00
networking
optimizations
platformio
portability doc: guides: portability: fix misspellings in POSIX C LANG table 2020-08-21 13:55:32 -04:00
porting doc: fix :c:macro: usage 2020-08-31 09:57:33 -04:00
test sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
tools
tracing
west doc: west: update west sign documentation 2020-09-03 16:49:09 -05:00
beyond-GSG.rst
c_library.rst
coccinelle.rst
code-relocation.rst
coverage.rst
design_guidelines.rst doc: Apply constant qualifier on device instance where relevant 2020-09-02 13:48:13 +02:00
env_vars.rst
getting-help.rst
index.rst doc: guides: add design guidelines with callback expectations 2020-08-25 18:09:56 +02:00
modules.rst docs: Zephyr module and CMake processing 2020-08-31 12:15:02 +02:00
zephyr_cmake_package.rst cmake: Zephyr CMake package clean-up and minor fix 2020-08-19 12:52:33 -04:00