aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel
AgeCommit message (Collapse)Author
2021-06-15zephyr-kernel: install .bin image if availableNagesh Shamnur
Some boards (e.g. Arduino Nano 33 BLE) require image in bin format for flashing with `-c flash_usb`. Provide that image along with ELF image on do_deploy step. Signed-off-by: Nagesh Shamnur <nagesh.shamnur@huawei.com> Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-06-15zephyr-kernel-test: fix Cortex-M tests failure with 2.6.0 kernelNagesh shamnur
Edit the test recipe removing obj_tracing tests that have been removed from Zephyr 2.6.0 release. Signed-off-by: Nagesh Shamnur <nagesh.shamnur@huawei.com> Signed-off-by: Wojciech Zmuda <wojciech.zmuda@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-06-10zephyr-kernel-src: drop 2.4.0 supportNaveen Saini
v2.6.0 is available now. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-06-10zephyr-kernel-src-2.4.0.inc: add srcrev for mbedtls moduleNaveen Saini
Ref: https://github.com/zephyrproject-rtos/zephyr/blob/zephyr-v2.4.0/west.yml#L93 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-06-10zephyr-kernel-src-2.6.0.inc: add srcrev for mbedtls moduleNaveen Saini
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-06-10zephyr-kernel-src set default preferred version to 2.6.0Wojciech Zmuda
Signed-off-by: Wojciech Zmuda <wojciech.zmuda@huawei.com>
2021-06-10zephyr-kernel-src: add 2.6.0 releaseWojciech Zmuda
Zephyr 2.6.0 release notes: https://github.com/zephyrproject-rtos/zephyr/releases/tag/zephyr-v2.6.0 Update the following submodules to most recent revisions: - hal_nordic: nrfx_dppi: Fix variable used in logging function - hal_stm32: dts/st: use a pull-down for SPI SCK pin - openamp: lib: update open-amp lib to release v2021.04.0 - libmetal: lib: update libmetal to release v2021.04.0 + VERSION path fix Signed-off-by: Wojciech Zmuda <wojciech.zmuda@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-06-10zephyr-mqtt-publisher: Add recipe for mqtt publisherAmit Kucheria
This sample application provides an example of using the the MBEDTLS library. Signed-off-by: Amit Kucheria <amit.kucheria.ext@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-06-10zephyr-websocket-client: Add recipe for websocket clientAmit Kucheria
This sample application provides an example of using the the MBEDTLS library. Signed-off-by: Amit Kucheria <amit.kucheria.ext@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-06-10zephyr-http-client: Add recipe for http clientAmit Kucheria
This sample application provides an example of using the the MBEDTLS library. Signed-off-by: Amit Kucheria <amit.kucheria.ext@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-06-10zephyr-echo-client: Add recipe for echo clientAmit Kucheria
This sample application provides an example of using the the MBEDTLS library. Signed-off-by: Amit Kucheria <amit.kucheria.ext@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-06-10zephyr-kernel: Clone mbedtlsAmit Kucheria
MBed TLS is a library that implements cryptographic primitives and SSL/TLS and DTLS protocols that are needed in secure network communications. Add it to the kernel include files to build and link against applications that need mbedtls. Signed-off-by: Amit Kucheria <amit.kucheria.ext@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-05-21zephyr-kernel-src: fix efi generation failure for x86 boardsNaveen Saini
With zephyr v2.5.0, EFI binary support has been added for x86 board (64-bit mode). To achieve this, an python tool[1] has been added to convert zephyr ELF file into an EFI appliable. But currently this does not work with Yocto cross-compilation env. This patch fix this issue and allow to build zephyr.efi Ref: [1]https://github.com/zephyrproject-rtos/zephyr/commit/928d31125f0b4eb28fe1cf3f3ad02b0ae071d7fd Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-05-17zephyr-kernel-src: switch from master branch to mainNaveen Saini
* branch was renamed in upstream repo It fixes do_fetch failure Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-03-31zephyr-kernel-src.inc: Support samples from external layersAndrei Gherzan
The inc file references patch(es) local to the inc file. Including this file from another recipe as part of an external layer, will make bitbake fail finding the files referenced in zephyr-kernel-src.inc's SRC_URI. By including an explicit path to the files directory in FILESEXTRAPATHS, we make sure that any recipe including this inc file will inherit the needed path. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-02-22zephyr-kernel-src.inc: set default preferred version to 2.5.0Naveen Saini
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-02-22zephyr: upgrade 2.5.0-rc4 -> 2.5.0Naveen Saini
Release notes: https://github.com/zephyrproject-rtos/zephyr/releases/tag/zephyr-v2.5.0 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-02-17zephyr-kernel-src: Upgrade 2.5.0-rc3 to rc4Andrei Gherzan
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-02-17zephyr-peripheral-hr: Add recipe for BT HR sampleAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-02-17Use an include file for the common parts of the sample recipesAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-02-17zephyr-kernel.inc: Remove include fileAndrei Gherzan
This file has little advantage and can be easily replaced by just directly including the src include file. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-02-17zephyr-kernel-common.inc: Reformat EXTRA_OECMAKEAndrei Gherzan
This will improve diffs readability in the future. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-02-17zephyr-kernel-common.inc: Fix configuration CPPFLAGS warningAndrei Gherzan
Configure warns when CPPFLAGS is provided as environment variable and expects its value to be passed to cmake. This patch does that to surpress the warning. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-02-17zephyr-kernel-src-2.5.0-rc3.inc: Add support for zephyr kernel version 2.5.0-rc3Andrei Gherzan
This version can be selected defining PREFERRED_VERSION_zephyr-kernel ??= "2.5.0-rc3" Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-02-17zephyr-kernel-src: Restructure recipeAndrei Gherzan
* Restructure recipe to use include files as opposed to a bbclass. The latter is unnatural when defining versions, sources etc. * Make the zephyr-kernel-src follow the version as defined by PREFERRED_VERSION_zephyr-kernel. * Make the setup of the zephyr-kernel-src.inc extensible for multiple versions. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-02-09zephyr-ipm: drop recipeNaveen Saini
ipm moved to driver folder. Sample is no longer available. Ref: https://github.com/zephyrproject-rtos/zephyr/commit/131cfa2043b255246ae5c30c2c1383dff49a0442 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-02-09zephyr-hci-uart: set COMPATIBLE_MACHINE to 96b-nitrogen machineNaveen Saini
Fix recipe to build. Support for Board arduino-101-ble already dropped from v1.12 Ref: https://github.com/zephyrproject-rtos/zephyr/blob/v2.4-branch/samples/bluetooth/hci_uart/README.rst https://github.com/zephyrproject-rtos/zephyr/blob/v2.4-branch/samples/bluetooth/hci_uart/boards/96b_nitrogen.conf Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-02-09zephyr-kernel-common.inc: use ZEPHYR_MODULES varNaveen Saini
Use ZEPHYR_MODULES variable to pass list of absolute source paths of additional external modules. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-02-05zephyr-peripheral-esp: fix compilationWojciech Zmuda
Bluetooth peripheral ESP sample application does not compile because of: - broken source directory path passing to cmake, - broken paths in do_deploy, - unnecessary call for do_install, - missing tinycrypt. The first issue caused the following error: <...>/gcc/arm-yocto-eabi/9.3.0/ld: <...>/recipe-sysroot/usr/lib/libc.a(lib_a-exit.o): in function `exit': /usr/src/debug/newlib/3.2.0-r0/newlib-3.2.0/newlib/libc/stdlib/exit.c:64: undefined reference to `_exit' collect2: error: ld returned 1 exit status Fix the issue by providing Zephyr source directory to cmake via OECMAKE_SOURCEPATH variable. On the do_configure step cmake now gets the full path to the sample source code instead of Zephyr root directory. The second and third issue caused errors because of missing files. Don't execute do_install and use the same paths in deploy as the other sample apps do. Inspecting meta-zephyr commits history shows that similar approach was used in bb files of other sample application when updating them to work with Zephyr 2.0. For the missing Tinycrypt, append its location to cmake. Signed-off-by: Wojciech Zmuda <wojciech.zmuda@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2020-12-16zephyr-kernel: clone OpenAMPWojciech Zmuda
OpenAMP is a framework providing software components enabling development of software applications for AMP systems. It is downloaded by default by west from two Zephyr Project repositories based on original OpenAMP repositories: - open-amp - IPC layer that implements rpmsg communication between cores, - libmetal - HAL abstraction layer used by open-amp. Clone the repositories so they can be used for building images for boards with multicore chips. Signed-off-by: Wojciech Zmuda <wojciech.zmuda@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2020-12-16zephyr-kernel: clone STM32 HALWojciech Zmuda
HAL for STM32 chipsets is one of Zephyr subprojects. It is downloaded by default by west. Clone the HAL repository so it can be used for building images for boards with STM32 chips. Signed-off-by: Wojciech Zmuda <wojciech.zmuda@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2020-12-14zephyr-kernel: clone Nordic HALWojciech Zmuda
HAL for Nordic chipsets is one of Zephyr subprojects. It is downloaded by default by west. Clone the HAL repository so it can be used for building images for boards with Nordic chips. Signed-off-by: Wojciech Zmuda <wojciech.zmuda@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2020-11-03zephyr-kernel-test: drop fatal kernel testcaseNaveen Saini
kernel 'fatal' testcase has directory structure changes in v2.4.0 version, which does not fit in current meta-zephyr test build structure. So excluding it for now. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2020-10-30zephyr-kernel: add Zephyr RTOS version 2.4.0 supportJon Mason
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>
2020-10-21zephyr: use TCLIBC=newlib directlyRoss Burton
Instead of setting TCLIBC=baremetal and then adding newlib in various places, just set TCLIBC=newlib directly. This also means we can use the standard DEPENDS instead of reinventing them. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2020-09-23zephyr-kernel: add Zephyr RTOS version 2.3.0 supportMah, Yock Gen
Signed-off-by: Mah, Yock Gen <yock.gen.mah@intel.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2020-09-22zephyr-kernel: Add python dependenciesJon Mason
Zephyr refuses to compile due to missing python dependencies. Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Ross Burton <ross.burton@arm.com>
2020-04-02zephyr-kernel-test.inc: remove 'boot_page_table' kernel testNaveen Saini
'boot_page_table' moved from kernel tests. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2020-04-02zephyr-kernel: add Zephyr RTOS version 2.2.0 supportNaveen Saini
Release notes: https://github.com/zephyrproject-rtos/zephyr/releases/tag/zephyr-v2.2.0 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2019-12-17zephy-kernel-test: update the testcase list for x86Naveen Saini
Updated the test recipes to build against Zephyr v2.0 Code clean up Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2019-12-09zephyr-philosophers: update recipe to build against v2.0Naveen Saini
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2019-12-09zephyr-helloworld: code clean upNaveen Saini
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2019-12-09zephyr-kernel: drop obsolete v1.6Naveen Saini
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2019-12-09zephyr-helloworld: update recipe to build against zephyr v2.0Naveen Saini
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2019-12-09zephyr-kernel: add Zephyr RTOS version 2.0.0 supportNaveen Saini
Release notes: https://github.com/zephyrproject-rtos/zephyr/releases/tag/zephyr-v2.0.0 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2019-12-09zephyr-kernel: drop v1.7Naveen Saini
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2019-12-09zephyr-helloworld: addNaveen Saini
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2019-12-09zephyr-kernel-src: updated SRC_URI to point to githubNaveen Saini
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2017-03-17zephyr-kernel-common.inc: modify ZEPHYR_MAKE_ARGSJuro Bystricky
Pass ARCH as well. Remove V=1, if needed can be added in a specific recipe. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
2017-03-17zephyr-kernel-test.inc: remove some testsJuro Bystricky
Removed tests not present in Zephyr 1.7. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>