targets: zephyr: Update for Zephyr 1.13 and SDK 0.9.3 (#2497)
Zephyr 1.13 made some refactorings to its CMake infrastructure which must be propagated to applications. Also, some config options were removed/refactored, so cleanup prj.conf. JerryScript-DCO-1.0-Signed-off-by: Paul Sokolovsky paul.sokolovsky@linaro.org
This commit is contained in:
committed by
Akos Kiss
parent
7825e4756a
commit
5472aff0dc
@@ -27,13 +27,14 @@ install-apt-get-deps:
|
||||
|
||||
# Install Zephyr SDK.
|
||||
install-zephyr-sdk:
|
||||
wget https://github.com/zephyrproject-rtos/meta-zephyr-sdk/releases/download/0.9.2/zephyr-sdk-0.9.2-setup.run -O ../zephyr-sdk-0.9.2-setup.run
|
||||
sh ../zephyr-sdk-0.9.2-setup.run -- -y -d $(CURDIR)/../zephyr-sdk-0.9.2
|
||||
wget https://github.com/zephyrproject-rtos/meta-zephyr-sdk/releases/download/0.9.3/zephyr-sdk-0.9.3-setup.run -O ../zephyr-sdk-0.9.3-setup.run
|
||||
sh ../zephyr-sdk-0.9.3-setup.run -- -y -d $(CURDIR)/../zephyr-sdk-0.9.3
|
||||
cmake --version
|
||||
|
||||
# Fetch Zephyr Project repository and install python dependencies.
|
||||
install-zephyr:
|
||||
git clone https://github.com/zephyrproject-rtos/zephyr.git ../zephyr -b v1.10.0
|
||||
git clone https://github.com/zephyrproject-rtos/zephyr.git ../zephyr -b v1.13.0
|
||||
pip3 install --user -U pip
|
||||
pip3 install --user -U setuptools
|
||||
pip3 install --user -r ../zephyr/scripts/requirements.txt
|
||||
|
||||
@@ -48,6 +49,6 @@ install: install-apt-get-deps install-noapt
|
||||
SHELL=bash
|
||||
script:
|
||||
export ZEPHYR_GCC_VARIANT=zephyr && \
|
||||
export ZEPHYR_SDK_INSTALL_DIR=$(CURDIR)/../zephyr-sdk-0.9.2 && \
|
||||
export ZEPHYR_SDK_INSTALL_DIR=$(CURDIR)/../zephyr-sdk-0.9.3 && \
|
||||
source ../zephyr/zephyr-env.sh && \
|
||||
$(MAKE) -f ./targets/zephyr/Makefile.zephyr BOARD=arduino_101
|
||||
|
||||
Reference in New Issue
Block a user