zephyr/cmake
Torsten Rasmussen 22dc2b6391 cmake: improved board handling for revisions
This commit improves board handling for boards in HWMv2.
On a CMake rerun, then BOARD_DIR is passed to `list_boards.py` which
is extended to take such parameter.

This allows to run `list_boards.py` whenever CMake reruns without the
penalty of searching for all board.yml files, as only the board.yml of
the current BOARD_DIR is processed.

This allows `list_boards.py` to be invoked and from there obtain list
of valid revisions and board identifiers for further board validation.

This removes the need for caching additional CMake variables related to
the board identifier and revision and thereby remove the risk of
settings becoming out of sync as only the board provided by user is
needed.

This work further ensure that use-cases described in #50536 is still
supported.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 15:50:02 +01:00
..
app
bintools buildsystem: Add an option to enable LTO 2024-02-02 19:49:36 +01:00
compiler cmake: Fix uses of old SOC path 2024-03-01 15:49:58 +01:00
emu config: qemu: Add QEMU_EXTRA_FLAGS config option 2023-10-20 15:03:55 +02:00
flash west runner: Add exe file to configuration 2023-10-10 15:26:09 +02:00
ide
linker buildsystem: Add an option to enable LTO 2024-02-02 19:49:36 +01:00
linker_script zbus: add priority boost feature 2024-01-04 09:41:54 +01:00
makefile_exports
modules cmake: improved board handling for revisions 2024-03-01 15:50:02 +01:00
reports
sca cmake: sca: Add Parasoft C++test 2024-02-02 13:49:08 +01:00
toolchain toolchain: esp32: fix cmake build issue with 'espressif' toolchain 2023-11-22 09:52:29 +01:00
usage cmake: add initlevels to usage 2023-11-24 11:39:21 +01:00
util
cfb.cmake
extra_flags.cmake cmake: extra_flags: Use zephyr_get 2023-10-24 11:35:27 +02:00
gcc-m-cpu.cmake
gcc-m-fpu.cmake
gen_version_h.cmake
hex.cmake cmake: hex: deprecate use of to_hex() and from_hex() utility functions 2024-01-22 09:48:33 +00:00
kobj.cmake
mcuboot.cmake cmake: mcuboot: set align to 1 for overwrite only mode 2024-01-12 09:59:51 +01:00
package_helper.cmake cmake: stub zephyr_set(... SCOPE ...) function in package helper 2023-10-05 09:43:28 +01:00
pristine.cmake
target_toolchain_flags.cmake
verify-toolchain.cmake
vif.cmake