diff --git a/scripts/Makefile.toolchain.zephyr b/scripts/Makefile.toolchain.zephyr index e0e04dfb8b5..db0f59ab725 100644 --- a/scripts/Makefile.toolchain.zephyr +++ b/scripts/Makefile.toolchain.zephyr @@ -12,7 +12,7 @@ # ####################################################################### -REQUIRED_SDK_VER=0.8.2 +REQUIRED_SDK_VER=0.9.1 ifndef ZEPHYR_SDK_INSTALL_DIR @@ -21,8 +21,20 @@ else SDK_VERSION = $(shell cat ${ZEPHYR_SDK_INSTALL_DIR}/sdk_version) SDK_CHECK = $(shell ${ZEPHYR_BASE}/scripts/vercomp $(REQUIRED_SDK_VER) $(SDK_VERSION) || echo $$?) +SDK_MESSAGE=" \ +The SDK version you are using is old, please update your SDK. \ + \ +You need at least SDK version $(REQUIRED_SDK_VER). \ + \ +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 \ +\ +\ +" + ifeq ($(SDK_CHECK),1) -$(error (The SDK version you are using is old, please update your SDK. You need at least SDK version $(REQUIRED_SDK_VER))) +$(error $(SDK_MESSAGE)) endif endif