commit | 2af32466f80dca63ebca644c42ffccc919a7f84c | [log] [tgz] |
---|---|---|
author | pigweed-roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com> | Wed Mar 05 13:41:13 2025 -0800 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Mar 05 13:41:13 2025 -0800 |
tree | a08879d8b2bfdb8fccf09e679d97bb8f24b2eec3 | |
parent | 9110b86608d81032d87287cbff644a7335dc9210 [diff] |
roll: zephyr af2f497..930898b (100 commits) 930898b doc: css: update board.css to prevent text overflow fe4ae78 doc: LICENSING: Add BSD-3-clause for python-devicetree test files 23cfe6b tests: Bluetooth: Mark generated qualification file as binaries cd5dab6 test: bluetooth: Update ICS to TCRL 2025-1 0717698 boards: stm32n6: Fix doc in flashing sections 1a5e13a net: if: Release the interface lock early when starting IPv4 ACD 196782e net: if: Release the interface lock early when rejoining mcast groups 1e88c62 net: if: Release the interface lock early when starting IPv6 DAD 4926698 net: if: Release the interface lock early in IPv6 RS timeout handler ffd82b7 net: if: Documentation missing for IPv4 ACD timeout variable 718eb4f net: if: Documentation missing for IPv6 DAD start time variable 2766c78 samples: zms: fix the loop_cnt iteration 0 check 4ca811b boards: microchip: mpfs_icicle: Remove flash from ignore_tags 8b45078 boards: nordic: nrf54l15dk: Fix wrong cpuflpr build command f2692e1 maintainers: add tflite-micro maintainer b136f6d Bluetooth: Host: improve more² GATT documentation 651db03 samples: sensor: accel_trig: add arduino_gpio req + platform_allow entry 746ea32 drivers: sensor: bosch: bme680: fix: possible overflowed value return value 6888aba doc: sysbuild: Add note on configuring board roots 0035449 scripts: ci: check_compliance: Add sysbuild Kconfig exclusions 0504136 doc: build: sysbuild: Add documentation on image setup c0f76d9 doc: Update Graphviz font configuration fd919b5 doc: make graphviz diagrams look good in dark theme 5729552 soc: esp32: fix flash QIO mode boot a0d22be sensor: adxl345: add missing Kconfig dependency 2c1538d dts: stm32: Streamline Devicetree binding descriptions 90c6eb1 random: Correct Mutex define 957647b dts: espressif: Streamline device tree binding descriptions b8c710d soc: espressif: fix chip revision reading 92a86b3 docs: stepper: version api as experimental 4ddfe10 doc: boards: extensions: simplify DTS binding description extraction bace008 doc: boards: holyiot: adopt zephyr:board-supported-hw directive 0b9da1e doc: boards: ebyte: adopt zephyr:board-supported-hw directive 6118965 doc: boards: electronut: adopt zephyr:board-supported-hw directive 1e5b7be doc: boards: alientek: adopt zephyr:board-supported-hw directive cb829fe doc: boards: andestech: adopt zephyr:board-supported-hw directive 4fc8a9d doc: boards: aspeed: adopt zephyr:board-supported-hw directive d09fcf5 doc: boards: blues: adopt zephyr:board-supported-hw directive cd3dd47 doc: boards: dragino: adopt zephyr:board-supported-hw directive 7ca83e9 doc: boards: bytesatwork: adopt zephyr:board-supported-hw directive d4b069e doc: boards: element14: adopt zephyr:board-supported-hw directive 8f8e719 doc: boards: ite: adopt zephyr:board-supported-hw directive 166068d doc: boards: wiznet: adopt zephyr:board-supported-hw directive 8adc760 doc: boards: witte: adopt zephyr:board-supported-hw directive bf01b99 doc: boards: wch: adopt zephyr:board-supported-hw directive e9a0025 doc: boards: udoo: adopt zephyr:board-supported-hw directive f2eb53c doc: boards: tdk: adopt zephyr:board-supported-hw directive ddf4da9 doc: boards: peregrine: adopt zephyr:board-supported-hw directive 276b38d doc: boards: particle: adopt zephyr:board-supported-hw directive 2ff9f64 doc: boards: mxchip: adopt zephyr:board-supported-hw directive fdb8b30 doc: extensions: Navigate to DTS entries from supported hardware list 235fabb doc: _extensions: simplify legend creation 5fea727 doc: boards: others: adopt zephyr:board-supported-hw 0ed09a8 samples: hello_world: set minimum flash requirement to 16K 9368f17 MAINTAINERS.yml: update maintainer and collaborators for Xen platform e242c08 drivers: wifi: nxp: fix the wrong security type print of WPA2 14f382b boards: stm32: stm32l562e_dk: Add JLink support to board.cmake e5db751 boards: st: Make use of the newly generated features tables ae857a1 driver: wifi: siwx917: Fix the return case gracefully 1a12889 samples: usb: dfu-next: make the sample testable af68151 dts: arm: atmel: sam3x: add gpio header f020720 fs: zms: fix Copyright notice c90694c tests: drivers: uart: Bug fix 5736aed boards: seeed: adopt zephyr:board-supported-hw Sphinx directive d627804 boards: nxp: mimxrt1060_evk.dtsi: remove redundant empty line 094d233 doc: release-notes: Add 4.1.0 release notes for Ethernet 4f0b8d0 doc: Improve context for thread identity in scheduling 20b1f8a dts: misc: Simplify the description of the binding 37defe4 boards: st: Fix README link in hal/stm32 module for stm32wbxx boards c7a19da Bluetooth: Host: Improve more GATT documentation cfa4f82 boards: s32z: improve boards docs 6b6cc6c doc: release-notes: Add 4.1.0 release notes for networking e28a45f doc: fix wrong header guard code comment be52f3e doc: release-notes: Move NXP watchdog text d8edd78 MAINTAINERS: Also match gecko recursively 086d9b6 MAINTAINERS: Remove redundant line 27163a5 MAINTAINERS: Also assign siwx91x drivers to Silabs 3883ef2 boards nrf54l15bsim: Remove out of date notes in doc e96b2a7 boards nrf54l15bsim: Remove uncessary defconfig 43564e7 release: Zephyr 4.1.0-rc3 5efaf9d drivers: dma: silabs: fix warning when compiling without assert 75885e8 Tests: Bluetooth: Fix stack overflow for tester bdcc352 dts: mbox: Simplify the description of the binding bc8065c boards: nxp: frdm_mcxc242: Free Ram Region for USB Testing d97d440 boards: adi: Fix incorrect gpio voltage select flags 9d5ebb3 drivers: flash: spi_nor: fix few printf format warnings 3543a23 boards: mpfs_icicle: default to SPI_NOR_SFDP_RUNTIME c768144 drivers: Correct value of event macro for all Renesas SoC cd06e80 manifest: update hal_renesas to use the correct EVENT macro ec69ccb Bluetooth: Controller: Fix single timer direction finding support 7520742 Bluetooth: Controller: Fix single timer clear event define name 23d321d Bluetooth: Controller: Fix end time capture be on radio event end f67a94f Bluetooth: Controller: Fix single timer end time capture 65d69ec Bluetooth: Controller: Fix active mode extended scanning assert a9c59d6 drivers: timer: sam0: fix MCLK pointer and mask in init function a7e2846 twister: setup logging per process 3a996c5 Bluetooth: Controller: Fix BT_CTLR_LOW_LAT_ULL dependency 3a8dddc drivers: adc: stm32: use __maybe_unused c0c6047 doc: develop: getting_started: Add powershell tabs d1969bf boards: ite: adopt new zephyr:board directive and role Rolled-Repo: https://pigweed.googlesource.com/third_party/github/zephyrproject-rtos/zephyr Rolled-Commits: af2f497ad0e89e..930898b49d5633 Roll-Count: 1 Roller-URL: https://cr-buildbucket.appspot.com/build/8721202041723486017 GitWatcher: ignore CQ-Do-Not-Cancel-Tryjobs: true Change-Id: I41e635f8eaab2bfff5e97fb4c46db1bd45aa7085 Reviewed-on: https://pigweed-review.googlesource.com/c/zephyr/zephyr-bazel/+/273011 Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com> Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
The way this repository works is by overlaying itself on top of Zephyr. To get started, first make sure you have Bazel‘s skylib version 1.7.1 or greater. If you don’t have it, you can use:
http_archive( name = "bazel_skylib", sha256 = "bc283cdfcd526a52c3201279cda4bc298652efa898b10b4db0837dc51652756f", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.7.1/bazel-skylib-1.7.1.tar.gz", "https://github.com/bazelbuild/bazel-skylib/releases/download/1.7.1/bazel-skylib-1.7.1.tar.gz", ], ) load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") bazel_skylib_workspace()
To grab the zephyr-bazel repo, use a git_repository rule in your WORKSPACE, such as:
git_repository( name = "zephyr-bazel", remote = "https://pigweed.googlesource.com/zephyr/zephyr-bazel" branch = "main", )
Once you have @zephyr-bazel
, we can load the patch rule to generate the Zephyr diff that will augment Zephyr to include the BUILD.zephyr rules.
load("@zephyr-bazel//:setup.bzl", "create_zephyr_patch_file") create_zephyr_patch_file( name = "zephyr-patch", filename = "patch.diff", # This is optional, use it to see what's going on under the hood debug = True, )
We now have a diff file at @zephyr-patch//:patch.diff
. We're ready to load Zephyr.
git_repository( name = "zephyr", remote = "https://github.com/zephyrproject-rtos/zephyr.git", branch = "main", patches = [ "@zephyr-patch//:patch.diff", ], )
The final step will be to load Zephyr's python dependencies:
load("@rules_python//python:pip.bzl", "pip_parse") pip_parse( name = "py_deps", python_interpreter_target = interpreter, requirements_lock = "@@zephyr//:scripts/requirements-base.txt", ) load("@py_deps//:requirements.bzl", zephyr_install_deps = "install_deps") zephyr_install_deps()
In your main application, you can now use the Zephyr utilities for building your app.
load("@zephyr//:defs.bzl", "dts_cc_library") dts_cc_library( name = "app_native_sim_dts", dts_lib = "@zephyr//boards/native/native_sim:native_sim", ) cc_binary( ... deps = [ ... "@zephyr//:zephyr", ] + select({ "@platform//cpu:x86_64": [ ":app_native_sim_dts", "@zephyr//include:posix", ], }), copts = select({ "@platform//cpu:x86_64": [ "-DCONFIG_ARCH_POSIX=1", ], }), )
There is currently just 1 example, you can run it via:
$ cd examples/hello_dts $ bazel run :app
Or, you can run the tests via:
$ cd examples/hello_dts $ bazel test //...