Commit graph

92323 commits

Author SHA1 Message Date
Andrzej Głąbek 6692d880e9 modules: hal_nordic: Enable support for DPPI on nRF54H20
Include into compilation the nrfx_gppi_dppi_ppib helper and related
interconnect layers when DPPIC nodes are enabled in DTS. Provide macro
definitions required by those interconnect layers based on information
from devicetree (the nrf_grtc_timer is only modified because a macro
that it uses became more generic).

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2024-03-12 14:27:16 +00:00
Andrzej Głąbek 54014f503c manifest: Update hal_nordic revision
Pull in fixes in the nrfx_gppi_dppi_ppib helper so that it can be
compiled successfuly.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2024-03-12 14:27:16 +00:00
Andrzej Głąbek 4991c487d6 soc: nordic_nrf: Add address validation entries for nRF54H/L dts nodes
Add entries for checking if the recently added dts nodes for nRF54H20
and nRF54L15 have correct base addresses (if they match those provided
by MDK).

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2024-03-12 14:27:16 +00:00
Andrzej Głąbek fd9d482e9d dts: nordic: Add missing ECB020 node in nRF54H20 EngA
This is a follow-up to commit 4db40601dd.

There are two ECB instances in nRF54H20 and the above commit added
only one of them.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2024-03-12 14:27:16 +00:00
Andrzej Głąbek 796d09d2a6 dts: nordic: Add DPPIC and IPCT nodes to nRF54H20 EngA
And add the corresponding bindings.

Move alse the already existing bindings for nrf-dppic, nrf-ppi,
and nrf-ipc so they are located together with the new ones and
in more appropriate folders (DPPIC and PPI peripherals are not
related to ARM, and IPC is for sending and receiving events,
not messages, so ipm/ does not seem to be the best fit for it).

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2024-03-12 14:27:16 +00:00
Stephanos Ioannidis 9f9a6c547b ci: bsim-tests: Use zephyr-runner v2
This commit updates the bsim-tests workflow to use the new zephyr-runner v2
CI runner deployment.

It also updates the workflow to use the `ci-repo-cache` Docker image, which
includes the Zephyr repository cache, because the node level repository
cache is no longer available in the zephyr-runner v2.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2024-03-12 09:16:24 -04:00
Alberto Escolar Piedras d592455cc0 tests/bsim mesh: Increase realtime timeout
One of these tests has been seen failing in older slower
computers due to timeouts, let's increase the timeout so
we don't break in those cases.
Note this timeout is just a safety to eventually kill
hung simulations even if nobody presses Ctrl+C.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-12 22:15:34 +09:00
Alberto Escolar Piedras e9c8856165 tests/bsim audio mcs_mcc: Increase realtime timeout
This test has been seen failing in older slower computers
due to timeouts, let's increase the timeout so we don't
break in those cases.
Note this timeout is just a safety to eventually kill
hung simulations even if nobody presses Ctrl+C.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-12 22:15:34 +09:00
Alberto Escolar Piedras 0888882262 tests/bsim broadcast_audio: Increase realtime timeout
This test has been seen failing in older slower computers
due to timeouts, let's increase the timeout so we don't
break in those cases.
Note this timeout is just a safety to eventually kill
hung simulations even if nobody presses Ctrl+C.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-03-12 22:15:34 +09:00
Mikhail Siomin 0157a89f52 tests: spi: spi_loopback: Added MCUX FlexIO SPI test
Added FlexIO SPI test. Overlay in the tests for mimxrt1064_evk
board only.

Signed-off-by: Mikhail Siomin <victorovich.01@mail.ru>
2024-03-12 14:00:45 +01:00
Mikhail Siomin 8dbfdd6f9f drivers: mcux: flexio: Added MCUX FlexIO SPI driver
Added SPI driver using FlexIO.

Signed-off-by: Mikhail Siomin <victorovich.01@mail.ru>
2024-03-12 14:00:45 +01:00
Mikhail Siomin 877b10bef1 drivers: mcux: flexio: Added generic MCUX FlexIO driver
Added FlexIO driver that distributes hardware resources
between interfaces using them.

Signed-off-by: Mikhail Siomin <victorovich.01@mail.ru>
2024-03-12 14:00:45 +01:00
Mikhail Siomin b12e8cd2b0 clock: nxp_imx: Added clock control support for FlexIO
Added clock control support for flexIO for i.MX series.

Signed-off-by: Mikhail Siomin <victorovich.01@mail.ru>
2024-03-12 14:00:45 +01:00
Mikhail Siomin ab5f727660 dts: nxp: Added flexio support for i.MX rt10xx and kinetis ke1xf series
Added description of flexio peripherals for i.MX rt10xx
and kinetis ke1xf series.

Signed-off-by: Mikhail Siomin <victorovich.01@mail.ru>
2024-03-12 14:00:45 +01:00
Emil Gydesen 4d2bc5f5e8 samples: Bluetooth: Add stereo support for broadcast audio sink
The broadcast audio sink now supports stereo if
CONFIG_TARGET_BROADCAST_CHANNEL=3 (LEFT | RIGHT).

It parses the BASE to find a set of BIS (1 or 2) that contain
the channel allocation from CONFIG_TARGET_BROADCAST_CHANNEL.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2024-03-12 13:56:55 +01:00
Stephanos Ioannidis 121896c0cf ci: twister_tests_blackbox: Switch to CI image v0.26.9
This commit updates the twister_tests_blackbox workflow to use the CI image
v0.26.9, in order to pull in the Zephyr SDK 0.16.5-1 release and keep the
image and SDK versions in sync with the rest of the CI workflows.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2024-03-12 08:54:42 -04:00
Stephanos Ioannidis eba732a7eb ci: errno: Switch to CI image v0.26.9
This commit updates the errno workflow to use the CI image v0.26.9, in
order to pull in the Zephyr SDK 0.16.5-1 release and keep the image and SDK
versions in sync with the rest of the CI workflows.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2024-03-12 08:54:42 -04:00
Stephanos Ioannidis 95e7eb31e6 ci: clang: Prioritise remote Redis cache storage
This commit updates the clang workflow such that ccache only uses remote
Redis cache storage when available.

The purpose of this to reduce the individual runner local disk IOPS
requirement; thereby, reducing the overall load on the SAN.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2024-03-12 08:54:42 -04:00
Stephanos Ioannidis 4a2884c652 ci: clang: Use Redis remote storage for ccache
This commit updates the clang workflow to, when available, use Redis remote
storage backend for the ccache compilation cache data.

The Redis cache server is hosted in the Kubernetes cluster in which the
zephyr-runner pods run -- the Redis remote storage backend will be ignored
if the server is unavailable.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2024-03-12 08:54:42 -04:00
Stephanos Ioannidis cd83f0724b ci: clang: Store ccache data in node cache
This commit updates the clang workflow to store ccache data in the
zephyr-runner v2 node cache.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2024-03-12 08:54:42 -04:00
Stephanos Ioannidis 64ca699fc8 ci: clang: Use zephyr-runner v2
This commit updates the clang workflow to use the new zephyr-runner v2 CI
runner deployment.

It also updates the workflow to use the `ci-repo-cache` Docker image, which
includes the Zephyr repository cache, because the node level repository
cache is no longer available in the zephyr-runner v2.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2024-03-12 08:54:42 -04:00
Stephanos Ioannidis 550bb4e4a6 ci: codecov: Set twister timeout multiplier to 2
This commit sets the codecov workflow twister timeout multiplier to 2,
which effectively increases the default test timeout from 60 to 120
seconds, because the new cost-effective Zephyr runners may take longer to
execute tests and the default timeout is not sufficient for some tests to
complete.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2024-03-12 08:54:42 -04:00
Stephanos Ioannidis a636c52b6a ci: codecov: Prioritise remote Redis cache storage
This commit updates the codecov workflow such that ccache only uses remote
Redis cache storage when available.

The purpose of this to reduce the individual runner local disk IOPS
requirement; thereby, reducing the overall load on the SAN.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2024-03-12 08:54:42 -04:00
Stephanos Ioannidis ab9f6b456b ci: codecov: Add --specs to ccache ignore option list
This commit adds the compiler `--specs=*` flag to the ccache ignore option
list because ccache is unable to resolve the toolchain-provided specs file
path and will consider source files to be uncacheable if it is unable to
read the specified specs file.

Note that adding `--specs=*` to the ignore option list is not a problem
because it is unlikely for the content of the toolchain libc spec file to
change without the compiler executable itself changing.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2024-03-12 08:54:42 -04:00
Stephanos Ioannidis b57f1b5a15 ci: codecov: Use Redis remote storage for ccache
This commit updates the codecov workflow to, when available, use Redis
remote storage backend for the ccache compilation cache data.

The Redis cache server is hosted in the Kubernetes cluster in which the
zephyr-runner pods run -- the Redis remote storage backend will be ignored
if the server is unavailable.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2024-03-12 08:54:42 -04:00
Stephanos Ioannidis 36b0b101d4 ci: codecov: Store ccache data in node cache
This commit updates the codecov workflow to store ccache data in the
zephyr-runner v2 node cache.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2024-03-12 08:54:42 -04:00
Stephanos Ioannidis 354e290a23 ci: codecov: Use zephyr-runner v2
This commit updates the codecov workflow to use the new zephyr-runner v2 CI
runner deployment.

It also updates the workflow to use the `ci-repo-cache` Docker image, which
includes the Zephyr repository cache, because the node level repository
cache is no longer available in the zephyr-runner v2.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2024-03-12 08:54:42 -04:00
Stephanos Ioannidis c1bd5a613f ci: codecov: Run on all zephyrproject-rtos organisation repositories
This commit updates the codecov workflow to run on all forks under the
zephyrproject-rtos organisation.

The purpose of this is mainly to simplify the process of testing of this
workflow under the zephyr-testing repository.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2024-03-12 08:54:42 -04:00
Stephanos Ioannidis 9838633c0e ci: footprint-tracking: Use zephyr-runner v2
This commit updates the bsim-tests workflow to use the new zephyr-runner v2
CI runner deployment.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2024-03-12 08:54:42 -04:00
Stephanos Ioannidis 2819c3526a ci: doc-build: Use zephyr-runner v2
This commit updates the doc-build workflow to use the new zephyr-runner v2
CI runner deployment.

It also installs additional system packages that are not available by
default in the zephyr-runner v2.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2024-03-12 08:54:42 -04:00
Stephanos Ioannidis 2fc1268c1c SDK_VERSION: Use Zephyr SDK 0.16.5-1
This commit updates SDK_VERSION to point to the Zephyr SDK 0.16.5-1
release.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2024-03-12 08:54:42 -04:00
Bjarki Arge Andreasen 5988bc54b0 MAINTAINERS: Add tomi-font as modem subsys collaborator
Add tomi-font as modem subsystem collaborator

Signed-off-by: Bjarki Arge Andreasen <bjarki@arge-andreasen.me>
2024-03-12 12:45:11 +01:00
Nikodem Kastelik d1bce0efe1 boards: nrf54l15pdk_nrf54l15_cpuapp: enable DCDC mode by default
Inductor is present on nRF54L15 PDK so it should be enabled
by default.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
2024-03-12 12:39:53 +01:00
Gerard Marull-Paretas 6cb283d106 tests: arch: common: ramfunc: add nrf54h20pdk cpuapp overlays
On nRF54H20, we need to configure RAM with execution permissions in
order to execute code from it. This patch adds overlays for the nRF54H20
PDK cpuapp cores so that RAM0X region is given execution permissions and
so the test runs successfully.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-12 10:58:51 +01:00
Magdalena Pastula 76f990730f boards: arm: mark counter as supported for nRF54L15
Mark counter as supported for nRF54L15 to allow running
counter_basic_api by twister.

Signed-off-by: Magdalena Pastula <magdalena.pastula@nordicsemi.no>
2024-03-12 10:54:27 +01:00
Magdalena Pastula 1e20632b36 tests: drivers: counter: add nRF54L15 overlay
Add nRF54L15 overlay for counter_basic_api test.

Signed-off-by: Magdalena Pastula <magdalena.pastula@nordicsemi.no>
2024-03-12 10:54:27 +01:00
Magdalena Pastula c57946173f tests: drivers: timer: add nrf_grtc_timer tests
Add NRF GRTC timer test for nRF54L15.

Signed-off-by: Magdalena Pastula <magdalena.pastula@nordicsemi.no>
2024-03-12 10:54:27 +01:00
Sylvio Alves d0d7a7909e driver: uart: esp32: get port number from reg address
ESP32 uart driver requires uart port number to its low level calls.

In case uart0 is disabled and uart1 is enabled, driver will set
default port num to 0 when it should be 1. This fixes this scenario
by retrieving uart pot number based on periphral address.

Fixes #69973

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-03-12 09:48:36 +00:00
Gerard Marull-Paretas 624c87af16 dts: arm: nordic: keep NFCT disabled by default
Enabling peripherals at SoC dts files should not be done, unless there
are good reasons (e.g. always needed peripherals). NFCT node should
either be enabled at board level, or, at application level.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-12 09:48:22 +00:00
Mark Wang c9467d8967 boards: nxp: mimxrt1060_evk: try the flow control pin mux in RT1060
test configuring pin mux of lpuart flow control in RT1060

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2024-03-12 09:46:50 +00:00
Mark Wang 32ce6ef997 drivers: serial: uart_mcux_lpuart: support the flow control pin mux
Configure the pins of flow control if it is added in device tree.

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2024-03-12 09:46:50 +00:00
Daniel DeGrasse ac2993493b soc: nxp: imxrt: do not select HAS_PM at family level
Not all SOC cores within the NXP iMX RT family support power
management (for example, the Fusion F1 DSP has no support). Do not
select HAS_PM at the SOC family level, and instead select it at the
series level where applicable

Fixes #69731

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-03-12 09:46:38 +00:00
Emil Gydesen 63fbeebb9a Bluetooth: BAP: Shell: Add missing err check for bt_bap_ep_get_info
Two places we did not have an error check from calling
bt_bap_ep_get_info before accessing the result. These
have simply been added (without an else), as they are
(very) unlikely to fail.

This was caught by coverity and thus fixes those
coverity issues.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2024-03-12 09:46:24 +00:00
Gerard Marull-Paretas 8492673ca6 boards: nordic: nrf54h20pdk: add ram variant for cpuppr
This new variant allows to easily execute from RAM when building for the
PPR core.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-12 09:46:04 +00:00
Gerard Marull-Paretas 2fe1bb39f2 soc: nordic: vpr: always select HAS_FLASH_LOAD_OFFSET
While not needed when XIP=n, it can be still be selected so that come
defconfigs are simplified.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-12 09:46:04 +00:00
Gerard Marull-Paretas f43d5c4394 boards: nordic: nrf54h20pdk: fix cpuppr flash
Board defaults to XIP, in which case flash is 64K.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-03-12 09:46:04 +00:00
Georgij Cernysiov e59ff45ebc dts: bindings: serial: stm32: block clock-frequency
Blocks 'clock-frequency' property included from
'uart-controller.yml' in the STM32 UART base.

Signed-off-by: Georgij Cernysiov <geo.cgv@gmail.com>
2024-03-12 09:45:54 +00:00
Daniel Fladerer 6d493776e9 soc: arm: nxp_imx: Add GPIO clock enable for i.MX8ML M7 Core Series
Enable clock if GPIO bank is enabled in the devicetree.

Signed-off-by: Daniel Fladerer <d.fladerer@gmx.de>
2024-03-12 09:45:35 +00:00
Lyle Zhu 3e8d1182d4 Bluetooth: HFP: Add data sent callback
Set struct bt_rfcomm_dlc_ops::sent.

Get the data sending result through
sent callback.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2024-03-12 09:45:27 +00:00
Lyle Zhu cb3d1c9ee9 Bluetooth: RFCOMM: Add data sent cb for RFCOMM
Currently, the upper layer cannot know
whether the data is successfully sent
through DLC.

Add a field "sent" for RFCOMM DLC ops.
Notify upper-layer of the sending
result through the field "sent".

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2024-03-12 09:45:27 +00:00