4acb615c14
Detecting this requires `boards.cmake` being able to handle multi-line output from `list_boards.py`. Implement a similar line reading loop to the one used in `hwm_v2.cmake`. Failing to handle this could result in an incorrectly parsed list of valid board qualifiers. Here's the expected list for `nrf52_bsim`: - "native" and here's what would happen if two copies of that board were found: - "native\nNAME" - "nrf52_bsim" - "native" Instead of that, there would now be a proper error message listing all board directories which contain `nrf52_bsim`. Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no> |
||
---|---|---|
.. | ||
FindBabbleSim.cmake | ||
FindDeprecated.cmake | ||
FindDtc.cmake | ||
FindGnuLd.cmake | ||
FindHostTools.cmake | ||
FindLlvmLld.cmake | ||
FindScaTools.cmake | ||
FindTargetTools.cmake | ||
FindZephyr-sdk.cmake | ||
Findarmclang.cmake | ||
FindoneApi.cmake | ||
arch_v1.cmake | ||
arch_v2.cmake | ||
basic_settings.cmake | ||
boards.cmake | ||
ccache.cmake | ||
configuration_files.cmake | ||
doc.cmake | ||
dts.cmake | ||
extensions.cmake | ||
generated_file_directories.cmake | ||
hwm_v2.cmake | ||
kconfig.cmake | ||
kernel.cmake | ||
pre_dt.cmake | ||
python.cmake | ||
root.cmake | ||
shields.cmake | ||
snippets.cmake | ||
soc_v1.cmake | ||
soc_v2.cmake | ||
unittest.cmake | ||
user_cache.cmake | ||
version.cmake | ||
west.cmake | ||
zephyr_default.cmake | ||
zephyr_module.cmake |