summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Mason <jdmason@kudzu.us>2020-10-29 08:57:57 -0400
committerNaveen Saini <naveen.kumar.saini@intel.com>2020-10-30 12:52:22 +0800
commitecfdc7c69e15103df43ac661725efb4fe3f7bcc7 (patch)
tree8b7bdd76d098e1aac970909f78688f3b213d59e5
parent78b35569569175e9323cedc4a2336d6b3cf9e123 (diff)
downloadmeta-zephyr-ecfdc7c69e15103df43ac661725efb4fe3f7bcc7.tar.gz
meta-zephyr-ecfdc7c69e15103df43ac661725efb4fe3f7bcc7.tar.bz2
meta-zephyr-ecfdc7c69e15103df43ac661725efb4fe3f7bcc7.zip
zephyr-kernel: add Zephyr RTOS version 2.4.0 support
Update Zephyr to the latest version. Tested via zephyr-philosophers on qemu-cortex-m3. Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
-rw-r--r--classes/zephyr-kernel-src.bbclass10
-rw-r--r--recipes-kernel/zephyr-kernel/zephyr-kernel-src_2.4.bb (renamed from recipes-kernel/zephyr-kernel/zephyr-kernel-src_2.3.bb)0
2 files changed, 5 insertions, 5 deletions
diff --git a/classes/zephyr-kernel-src.bbclass b/classes/zephyr-kernel-src.bbclass
index 50e46af..d245223 100644
--- a/classes/zephyr-kernel-src.bbclass
+++ b/classes/zephyr-kernel-src.bbclass
@@ -1,18 +1,18 @@
#Set relevant variables based on Zephyr kernel version
-PREFERRED_VERSION_zephyr-kernel ??= "2.3.0"
+PREFERRED_VERSION_zephyr-kernel ??= "2.4.0"
SRCREV_FORMAT = "default_cmsis"
-SRCREV_default = "b8c78e254ff875680e99c9f131fbe285c4575927"
+SRCREV_default = "7a3b253ced7333f5c0269387a7f3ed1dee69739d"
SRCREV_cmsis = "542b2296e6d515b265e25c6b7208e8fea3014f90"
-SRC_URI = "git://github.com/zephyrproject-rtos/zephyr.git;protocol=https;branch=v2.3-branch;name=default \
+SRC_URI = "git://github.com/zephyrproject-rtos/zephyr.git;protocol=https;branch=v2.4-branch;name=default \
git://github.com/zephyrproject-rtos/cmsis.git;protocol=https;destsuffix=git/modules/cmsis;name=cmsis \
file://0001-cmake-add-yocto-toolchain.patch \
"
-PV = "2.3.0+git${SRCPV}"
+PV = "2.4.0+git${SRCPV}"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc"
@@ -21,7 +21,7 @@ ZEPHYR_TEST_SRCDIR = "tests/legacy/kernel/"
python () {
src_pn = d.getVar('PREFERRED_VERSION_zephyr-kernel', True)
- if src_pn == '2.3.0':
+ if src_pn == '2.4.0':
return
else:
bb.error("Unsupported Zephyr kernel version requested")
diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-src_2.3.bb b/recipes-kernel/zephyr-kernel/zephyr-kernel-src_2.4.bb
index 8e8b5b8..8e8b5b8 100644
--- a/recipes-kernel/zephyr-kernel/zephyr-kernel-src_2.3.bb
+++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-src_2.4.bb