board: nrf54bsim: Add cmake check to prevent targetting the flipper core

This is not yet possible.
So let's add a check that provides an easy to understanding
error message instead of a bunch of kconfig and build warnings.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
Alberto Escolar Piedras 2024-05-14 13:21:15 +02:00 committed by Fabio Baltieri
commit ced0676911

View file

@ -6,6 +6,10 @@ find_package(BabbleSim)
zephyr_library() zephyr_library()
if (CONFIG_BOARD_NRF54L15BSIM_NRF54L15_CPUFLPR)
message(FATAL_ERROR "Targeting the nrf54l15bsim/nrf54l15/cpuflpr core is not yet supported")
endif()
# Due to the BLE controller assumption about enum size # Due to the BLE controller assumption about enum size
zephyr_compile_options( zephyr_compile_options(
-fshort-enums -fshort-enums