Skip to content

Commit

Permalink
[docker][microTVM]Update zephyr version to 3.2 and Zephyr SDK to 0.15…
Browse files Browse the repository at this point in the history
….2 (#13806)

This PR updates Zephyr version and Zephyr SDK version to the latest release only in docker build scripts.
  • Loading branch information
mehrdadh authored Jan 20, 2023
1 parent c8973a5 commit fe372a7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docker/install/ubuntu_init_zephyr_project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ if [ "$1" == "--branch" ]; then
BRANCH=$1
shift
else
BRANCH="v2.7-branch"
BRANCH="v3.2-branch"
fi

COMMIT=
Expand Down
1 change: 0 additions & 1 deletion docker/install/ubuntu_install_zephyr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ chmod -R o+w ${ZEPHYR_PROJECT_PATH}
mkdir zephyr/.cache
chmod o+rwx zephyr/.cache

#/opt/west/bin/pip3 install -r /opt/zephyrproject/zephyr/scripts/requirements.txt
pip3 install -r /opt/zephyrproject/zephyr/scripts/requirements.txt

# the requirements above overwrite junintparser with an older version, but it is not
Expand Down
14 changes: 7 additions & 7 deletions docker/install/ubuntu_install_zephyr_sdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ fi
INSTALLATION_PATH=$1
shift

ZEPHYR_SDK_VERSION=0.13.2
ZEPHYR_SDK_FILE=zephyr-sdk-linux-setup.run
wget --no-verbose -O $ZEPHYR_SDK_FILE \
https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v${ZEPHYR_SDK_VERSION}/zephyr-sdk-${ZEPHYR_SDK_VERSION}-linux-x86_64-setup.run
chmod +x $ZEPHYR_SDK_FILE
"./$ZEPHYR_SDK_FILE" -- -d ${INSTALLATION_PATH}
rm "$ZEPHYR_SDK_FILE"
ZEPHYR_SDK_FILE_SHA=8e3572fbca9f9ba18a4436c00d680af34a85e239f7fe66c7988da85571a0d23d
wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.15.2/zephyr-sdk-0.15.2_linux-x86_64.tar.gz
echo "$ZEPHYR_SDK_FILE_SHA zephyr-sdk-0.15.2_linux-x86_64.tar.gz" | sha256sum --check

tar xvf zephyr-sdk-0.15.2_linux-x86_64.tar.gz
mv zephyr-sdk-0.15.2 zephyr-sdk
rm zephyr-sdk-0.15.2_linux-x86_64.tar.gz

0 comments on commit fe372a7

Please sign in to comment.