zephyr/tests/bluetooth/controller
Torsten Rasmussen b939e720a6 tests: source Zephyr before project() call
Fixes: #73831

find_package(Zephyr) should be called before first project() call.

Zephyr package will test and force-set the correct toolchain, especially
the C compiler.
The project() will also set the C compiler, if not set already.

If project() is called first, then conflict arises on the C compiler
selection and thus the following message is seen:
> You have changed variables that require your cache to be deleted.
> Configure will be re-run and you may have to reset some variables.
> The following variables have changed:
> CMAKE_C_COMPILER= /usr/bin/gcc

This cache deletion results in other errors, such as a missing BOARD
setting.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-08-05 16:27:09 +02:00
..
common
ctrl_api
ctrl_chmu
ctrl_cis_create
ctrl_cis_terminate
ctrl_collision
ctrl_conn_update
ctrl_cte_req
ctrl_data_length_update
ctrl_encrypt
ctrl_feature_exchange
ctrl_hci
ctrl_invalid
ctrl_le_ping
ctrl_min_used_chans
ctrl_phy_update
ctrl_sca_update
ctrl_terminate
ctrl_tx_buffer_alloc
ctrl_tx_queue
ctrl_unsupported
ctrl_version
mock_ctrl
uut