zephyr/cmake
Torsten Rasmussen 3a58b45ced cmake: board_check_revision() also accepts a list of valid revisions
To remove the need of empty config files, the `board_check_revision()`
now accepts a list of valid revisions.

As example:
```
board_check_revision(
  FORMAT MAJOR.MINOR.PATCH
  VALID_REVISIONS 0.1.0 0.5.0 0.10.0
)
```

The code is still compatible with the `<board>_<revision>.conf` changes
so that if different revisions of a board has Kconfig differences, then
there is no need to also specify the list of valid revisions.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2021-03-04 12:58:43 +01:00
..
app shield: cmake: adjust if(EXISTS <shield>.conf) to check for right file 2021-03-01 15:50:52 -06:00
bintools
compiler compiler: do not allow expansion-to-defined 2021-02-17 04:05:42 -05:00
emu renode: fix dependencies for renode platforms 2021-02-08 21:03:48 -05:00
flash
ide
linker
makefile_exports
reports
toolchain cmake: twister: Using common script for toolchain setting verification 2021-02-04 20:05:05 -05:00
usage
util
boards.cmake
ccache.cmake
cfb.cmake
dts.cmake cmake: dtc: Validate EXTRA_DTC_FLAGS flags 2021-03-03 17:29:29 +01:00
extensions.cmake cmake: board_check_revision() also accepts a list of valid revisions 2021-03-04 12:58:43 +01:00
extra_flags.cmake
gcc-m-cpu.cmake
generic_toolchain.cmake cmake: twister: Using common script for toolchain setting verification 2021-02-04 20:05:05 -05:00
git.cmake
hex.cmake
host-tools.cmake
kconfig.cmake
kobj.cmake cmake: improved handling of output and byproducts in CMake 2021-02-14 18:09:24 -05:00
mcuboot.cmake
pristine.cmake
python.cmake
shields.cmake
target_toolchain_flags.cmake
target_toolchain.cmake
verify-toolchain.cmake cmake: twister: Using common script for toolchain setting verification 2021-02-04 20:05:05 -05:00
version.cmake
west.cmake
zephyr_module.cmake