Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NCS 2.4 uses Zephyr 0.16.0 #67

Closed
coderbyheart opened this issue Jun 2, 2023 · 1 comment · Fixed by #69
Closed

NCS 2.4 uses Zephyr 0.16.0 #67

coderbyheart opened this issue Jun 2, 2023 · 1 comment · Fixed by #69
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@coderbyheart
Copy link
Member

https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/getting_started/installing.html#install-the-zephyr-sdk

See #66

@coderbyheart coderbyheart added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Jun 2, 2023
@vChavezB
Copy link

vChavezB commented Jun 2, 2023

Just to add to this discussion

This is what I came up with (disclaimer I am by no means a bash expert so there could be an easier way)

major_version=$(echo "${ZEPHYR_TOOLCHAIN_VERSION}" | cut -d. -f1) && 
minor_version=$(echo "${ZEPHYR_TOOLCHAIN_VERSION}" | cut -d. -f2) && 
patch_version=$(echo "${ZEPHYR_TOOLCHAIN_VERSION}" | cut -d. -f3) && 
if test "$major_version" -gt 0 -o "$minor_version" -gt 16 -o "$minor_version" -eq 16 -a "$patch_version" -ge 0; then 
RELEASE_EXTENSION=xz ; 
else 
RELEASE_EXTENSION=gz ; 
fi
ZEPHYR_TOOLCHAIN_URL=${ZEPHYR_TOOLCHAIN_BASE_URL}.${RELEASE_EXTENSION}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants