From d4c0f7b99724756750b167f9b70211242f5fc235 Mon Sep 17 00:00:00 2001 From: Grzegorz Latosinski Date: Tue, 21 May 2024 15:28:08 +0200 Subject: [PATCH] [#59072] scripts: prepare_zephyr_env.sh: Prevent using Zephyr SDK v0.16.6 Zephyr SDK v0.16.6 introduces experimental ISO C11 gthread support, which requires enabling threading on application level to work - this will be reversed in Zephyr SDK v0.16.7. Signed-off-by: Grzegorz Latosinski --- scripts/prepare_zephyr_env.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/prepare_zephyr_env.sh b/scripts/prepare_zephyr_env.sh index dc86f8b..b940901 100755 --- a/scripts/prepare_zephyr_env.sh +++ b/scripts/prepare_zephyr_env.sh @@ -38,7 +38,7 @@ if [ ! -d "$ZEPHYR_SDK_PATH" ]; then for SDK_IDX in 0 1 2 do # determine latest SDK version - ZEPHYR_SDK_VERSION=$(curl "https://api.github.com/repos/zephyrproject-rtos/sdk-ng/tags" | jq -r "[.[].name | select(.|test(\"-\")|not)][$SDK_IDX]") + ZEPHYR_SDK_VERSION=$(curl "https://api.github.com/repos/zephyrproject-rtos/sdk-ng/tags" | jq -r "[.[].name | select(.|test(\"-\")|not)][$SDK_IDX]" | sed "/v0.16.6/d") ZEPHYR_SDK_VERSION="${ZEPHYR_SDK_VERSION:1}" ZEPHYR_SDK_ARCHIVE="zephyr-sdk-${ZEPHYR_SDK_VERSION}_linux-x86_64_minimal.tar.xz"