Skip to content

Commit

Permalink
[#59072] scripts: prepare_zephyr_env.sh: Prevent using Zephyr SDK v0.…
Browse files Browse the repository at this point in the history
…16.6

Zephyr SDK v0.16.6 introduces experimental ISO C11 <threads.h> 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 <[email protected]>
  • Loading branch information
glatosinski committed May 24, 2024
1 parent 5a9d328 commit d4c0f7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/prepare_zephyr_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d4c0f7b

Please sign in to comment.