toolchain: Improve error message on mismatching SDK version
Add useful information to the error message printed when the installed SDK does not fulfill version requirements. Signed-off-by: Jacob Siverskog <jacob@teenage.engineering>
This commit is contained in:
parent
a3cffb8e63
commit
5105947924
1 changed files with 1 additions and 0 deletions
|
|
@ -35,6 +35,7 @@ string(STRIP ${SDK_VERSION_PRE2} SDK_VERSION)
|
|||
if(${REQUIRED_SDK_VER} VERSION_GREATER ${SDK_VERSION})
|
||||
message(FATAL_ERROR "The SDK version you are using is old, please update your SDK.
|
||||
You need at least SDK version ${REQUIRED_SDK_VER}.
|
||||
You have version ${SDK_VERSION} (${ZEPHYR_SDK_INSTALL_DIR}).
|
||||
The new version of the SDK can be download from:
|
||||
https://github.com/zephyrproject-rtos/meta-zephyr-sdk/releases/download/${REQUIRED_SDK_VER}/zephyr-sdk-${REQUIRED_SDK_VER}-setup.run
|
||||
")
|
||||
|
|
|
|||
Loading…
Reference in a new issue