cmake: limit Zephyr SDK to 0.16.x series for Zephyr 3.7 LTS

Zephyr SDK compatibility level 0.16 is now an LTS intended for
Zephyr v3.7 LTS.

Thus, limit the upper Zephyr SDK lookup to <0.17, so that developers
working with Zephyr v3.7 LTS and latest Zephyr main can install both
Zephyr SDK 0.16.x along side Zephyr SDK >=0.17 and have the Zephyr SDK
0.16.x series being used for v3.7 LTS development.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
This commit is contained in:
Torsten Rasmussen
2024-10-22 10:02:15 +02:00
committed by Carles Cufí
parent c94fee82c1
commit 6da35a811a

View File

@@ -50,7 +50,7 @@ endif()
find_package(Deprecated COMPONENTS CROSS_COMPILE)
find_package(Zephyr-sdk 0.16)
find_package(Zephyr-sdk 0.16...<0.17)
# gperf is an optional dependency
find_program(GPERF gperf)