aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/zephyr-kernel
AgeCommit message (Collapse)Author
2022-01-24meta-zephyr-core/bsp: Restructure into sublayersEilís Ní Fhlannagáin
This commit restructures meta-zephyr into meta-zephyr-core and meta-zephyr-bsp. It moves machine definitions into meta-zephyr-bsp in preparation for adding the autogenerated zephyr machines. Signed-off-by: Eilís Ní Fhlannagáin <elizabeth.flanagan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-12-24zephyr-kernel: upgrade 2.7.0 -> 2.7.1JingHuiTham
Zephyr 2.7.1 release notes: https://github.com/zephyrproject-rtos/zephyr/releases/tag/zephyr-v2.7.1 Signed-off-by: JingHuiTham <jing.hui.tham@intel.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-11-17zephyr-lvgl: new recipeBartosz Golaszewski
This adds a recipe for building the lvgl sample from mainline zephyr source. We need to include one upstream patch that fixes a build problem with lvgl and pull in two other modules or otherwise the default config will fail to build. Currently only the nordic reference devkit for nrf52840 is supported. Big thanks to Eilís Ní Fhlannagáin <elizabeth.flanagan@huawei.com> for helping me with that. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@huawei.com> Signed-off-by: Eilís Ní Fhlannagáin <elizabeth.flanagan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-11-17zephyr-kernel-src: order git repos alphabeticallyBartosz Golaszewski
As the number of repos pulled gets bigger it's easier to parse them if they are ordered alphabetically. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@huawei.com> Signed-off-by: Eilís Ní Fhlannagáin <elizabeth.flanagan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-11-17zephyr-kernel-src: use the preferred coding style for multi-line assignmentsNaveen Saini
This type of multi-line assignments is the most prevalent in well-known layers and is more visually pleasing. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@huawei.com> Signed-off-by: Eilís Ní Fhlannagáin <elizabeth.flanagan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-11-17zephyr-kernel-src: order the SRCREV assignments alphabeticallyBartosz Golaszewski
It's easier to parse visually when those assignments are ordered. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@huawei.com> Signed-off-by: Eilís Ní Fhlannagáin <elizabeth.flanagan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-11-16zephyr-kernel-src: fix build with latest dtcRoss Burton
dtc is now built with Meson, which changes the version string in the --version output. Zephyr matches this in a regular expression which now fails, so update it to match both Make and Meson formats. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-11-12zephyr-kernel-test: remove unnecessary "+="Jon Mason
bitbake is now warning when "+=" is used with "remove", as it is not a recommended combination. Change the commented out versions that have this combination to prevent anyone from using it. Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-11-08zephyr-kernel-src: specify nobranch to avoid warningsJon Mason
bitbake is now warning on git trees not having branches specified, with errors similar to below: WARNING: URL: git://github.com/zephyrproject-rtos/cmsis.git;protocol=https;destsuffix=git/modules/cmsis;name=cmsis does not set any branch parameter. The future default branch used by tools and repositories is uncertain and we will therefore soon require this is set in all git urls. To get around this issue, specify "no-branch=1" for all SRC_URIs that do not have a branch listed. Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-10-25zephyr-kernel-src: set default preferred version to 2.7.0Naveen Saini
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-10-25zephyr-kernel/2.7.0: update to release tag Zephyr v2.7.0Naveen Saini
https://github.com/zephyrproject-rtos/zephyr/releases/tag/zephyr-v2.7.0 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-10-21zephyr-kernel/2.5.0: drop recipeNaveen Saini
As v2.7.0 is being added, drop this version support Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-10-21zephyr-kernel/2.7.0: add recipeNaveen Saini
https://github.com/zephyrproject-rtos/zephyr/commits/v2.7-branch Keeping the default PREFERRED_VERSION to 2.6.1 for now. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-10-07zephyr-kernel-test: disable broken testsJon Mason
Add tests that don't currently compile successfully to the remove list for each specific machine. Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-10-06zephyr-kernel: add openamp-rsc-table sampleArnaud Pouliquen
The recipe to build rpmsg sample demonstrating messaging between main core dunning Linux and and the coprocessor running Zephyr. Useful to demonstrate inter-processing communication. Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-09-27zephyr-kernel: upgrade 2.6.0 -> 2.6.1Naveen Saini
It has GCC-11 fixes. https://github.com/zephyrproject-rtos/zephyr/issues/35707 Commits included: 2d6322d74a demand_paging: eviction/nru: fix incorrect dirty bit return val 25771e6928 drivers: clock_control: stm32: enable PWR clock unconditionally 92e36185e8 [Backport v2.6-branch] Microchip: XEC GPIO driver interrupt enable part 2 68d33e3834 libc/minimal: locate the memory pool for malloc() to .bss 7f3abab9bf net: tcp: accept [FIN, PSH, ACK] in TCP_FIN_WAIT_2 state 533dcaf374 lib/os/cbprintf_nano.c: avoid sign extension on unsigned formats ea55ebfa74 tests: schedule_api: use stack array extern macro 95bb8841b8 tests: mem_protect: fix warning on uninitialized variable 1f8c53dfaf tests: kernel/common: avoid using compiler builtin popcount 7bb7454a00 kernel: use proper macro to declare extern interrupt stacks 25fd176014 kernel: add macros to allow declaring extern stack arrays e1cde092ac kernel: move Z_KERNEL_STACK_LEN higher in thread_stack.h 244049bd71 x86: type cast to uint8_t* for bit ops 5dae0c1bf0 kernel: ignore array bound warnings for generated syscall funcs 5666e4d525 cmake: force GCC to emit DWARF version 4 91a78866ca Bluetooth: Controller: Fix advertising after connections from same peer 0afddb2341 x86/cache: fix issues in arch dcache flush function 9bcf9b6a53 json: fix parsing first array-array element 2595cce714 cmake: oneApi: add oneApi support on windows. 18d314e750 cmake: oneApi: add oneApi support on windows c8755e0b46 (tag: v2.6.1-rc1) tests/benchmarks: add dynamic memory allocation measurement a4d35f0a3e doc: 2.6.1 release notes 7094aaee55 release: Bump release to 2.6.1-rc1 585c03a0b6 drivers/clock_control: stm32: Fix macro to get HCLK freq cacb0a4e59 Bluetooth: L2CAP: Fix missing net_buf_unref() 78ab750540 timer: hpet: convert register access to functions d9df404d47 timer: hpet: don't force TIMER_READS_ITS_FREQUENCY_AT_RUNTIME 8e80955511 timer: hpet: allow overriding MIN_DELAY 99dc33faaf timer: hpet: extract Counter Clock Period into a macro 02fbe652a5 logging: fs: fix leak of opened directories in check_log_file_exist() 80b406d784 x86: acpi: limit search on where EBDA can be Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-08-13zephyr-kernel-src-dev.inc: add dev recipeNaveen Saini
It allow to build against latest main branch. User need to have following config locally to use it. PREFERRED_VERSION_zephyr-kernel = "dev" Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-08-13zephyr-kernel-src: switch to main branch for hal_stm32 module repoNaveen Saini
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-08-05Convert to new override syntaxNaveen Saini
Use the convert-overrides.py to convert to new syntax and fixed some additional changes manually. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-07-16zephyr-openthread-echo-client: Add new echo-client variant for OpenThreadStefan Schmidt
Similar to the normal echo-client example it demonstrates socket usage, but in this variant we enable the OpenThread config overlay and add the needed module to the build. Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-07-16zephyr-kernel-src.inc: Add backport patch for storage partitionStefan Schmidt
Patch already merged upstream, but after the 2.6 release we are based on. Taking the backport in here until we can figure out if that can go to the Zephyr 2.6 LTS branch. The storage partition itself is needed on the Arduino Nano e.g. for OpenThread or applications needed a storage space. Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-07-08zephyr-kernel: install .efi image if availableNaveen Saini
EFI images are being generated for x86 platforms. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-07-08zephyr-kernel/2.6.0: update to include latest commitsNaveen Saini
Switched to v2.6-branch. It included x86 EFI binary fix. It requried rebasing of yocto toolchain patch. Commits included: 837ab4a915 ARC: save/restore accumulator registers on all ARCv2 HS CPUs by default 0943608550 riscv: openisa_rv32m1: Fix booting of rv32m1_vega 3c56e0df0b cmake: ld: Disable manual linking of libgcc components for host b0cb7412b9 cmake: host-gcc: Remove libgcc library path resolution 80e1b785dc cmake: host-gcc: Detect libgcc for all archs e72a327107 cmake: gcc: Remove no_libgcc exclusion for libgcc detection 1cf1d75d3f Bluetooth: Controller: Fix Data Length Update node Rx reservations e43afd10f7 Bluetooth: Controller: Fix free rx buffer MFIFO enqueue 6d9b318dca Bluetooth: Controller: Minor change to use IS_ENABLED d4d362d081 doc: api: fix devicetree modification version d0dca15734 arch/x86/zefi: Fix entry-nop hack for EFI entry 218e438f3e drivers: bluetooth: hci driver for stm32wb includes clock control f66d0cea06 Tracing: TraceRecorder CMake update d5a1a22b1a python-devicetree: tox: fix mypy c77f8fae83 doc/guides/dts: bindings: Fix code snippet for 'signal-gpios' 3ec1caa504 dts/arm: st: g0: closes parenthesis for soc a221f358eb drivers: flash_stm32_v1: fix a potential unaligned access f5a6110b4a tests: cpp: libcxx: Test with full and nano variants of newlib 1d6106fd5e tests: cpp: libcxx: Use full version of newlib for testing 4b87e90167 cpp: Fix C++ exception handling newlib dependency 1d4d16b748 linker: cpp: Fix C++ exception handling info section linking 4a564cdef0 version: add EXTRAVERSION to VERSION file Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-06-23zephyr-coap-client: Add recipe for CoAP clientAmit Kucheria
This sample application provides an example coap-client 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-23zephyr-coap-server: Add recipe for CoAP serverAmit Kucheria
This sample application provides an example coap-server 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-15zephyr-kernel: Add OpenThread add module to buildStefan Schmidt
OpenThread support in Zephyr is realised as an external module. Make sure we pull it in and have it available for applications to use it. Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2021-06-15zephyr-blinky: add sample app recipeDavide Ricci
Blinky is the most referenced sample in Zephyr's documentation and recall Arduino's first sketch example. This .bb file allows to build such example. Signed-off-by: Davide Ricci <davide.ricci@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
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>