Commit graph

103839 commits

Author SHA1 Message Date
Carles Cufi
c85e418eda boards: nordic: nrf54l15dk: Fix references to pdk
A bunch of copy-paste mistakes when adding the nRF54L15 DK added stale
references to the Preview DK (PDK).

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2024-10-21 01:46:39 +01:00
Reto Schneider
7b65bbe52e doc: pytest: Fix spelling of unlaunched
unlauched_dut is written wrongly - unlaunched_dut is correct.

Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>
2024-10-21 01:45:49 +01:00
Troels Nilsson
6f64f77557 Bluetooth: Controller: Remove incorrect check of RFU bit
RFU bits has to be ignored according to the spec; In addition,
some MediaTek devices seems to have it set (by mistake I assume),
so having the check means we cannot sync to these devices

Signed-off-by: Troels Nilsson <trnn@demant.com>
2024-10-18 17:47:14 +01:00
Erik Brockhoff
b590c0b1f6 doc: connectivity: Bluetooth: add LLCP fly-in
Adding a brief fly-in of the main concepts of the
implementation of link layer control procedures handling

Signed-off-by: Erik Brockhoff <erbr@oticon.com>
2024-10-18 17:46:55 +01:00
Phi Bang Nguyen
e67f2b1a61 samples: video: capture: Enhance fixture test with colorbar checking
Currently, the camera fixture test can only tell whether data are dumped
onto memory. This is to check further if the image content is correct.

The algorithm is rather simple: compare the average color of each bar
of a generated pattern with a predefined target in CIELAB76 color
space (which is nearly perceptually uniform).

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
2024-10-18 17:46:38 +01:00
Phi Bang Nguyen
9f97e18ddd samples: video: capture: Fix camera fixture test
The logs that the fixture test are based on are not printed anymore due
to recent changes from "printk" to "LOG_DBG". Change the log level so
that it can work again.

Remove "Capture started" as it is not a relevant test regex. Logs are
sometimes not correctly printed in the console, for example, we can see:

DEBUG   - DEVICE: muart:~$ [mapture started

As "Capture started" is a one-time log, fixture test will then fail due
to timeout.

Also, consolidate other regex.

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
2024-10-18 17:46:38 +01:00
Phi Bang Nguyen
5e627b64b5 samples: video: capture: Add mimxrt1170_evk@B to test
Add mimxrt1170_evk@B to test platforms.

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
2024-10-18 17:46:38 +01:00
Vinayak Kariappa Chettimada
b4182caf77 Bluetooth: Controller: Fix Periodic Adv Chain PDU channel indices
Fix missing population of channel indices for Periodic
Advertising Chain PDUs.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2024-10-18 17:46:23 +01:00
Vinayak Kariappa Chettimada
1eb74c43df Bluetooth: Controller: Fix Extended Adv Chain PDU channel indices
Fix missing population of channel indices for Extended
Advertising Chain PDUs.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2024-10-18 17:46:23 +01:00
Pavel Vasilyev
1fbcc0e6f9 tests: bluetooth: host: conn: Add bt_conn_le_create unit test
Add a test that checks behavior of
CONFIG_BT_CONN_CHECK_NULL_BEFORE_CREATE Kconfig option.

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
2024-10-18 17:46:04 +01:00
Pavel Vasilyev
8acb1cc577 bluetooth: host: conn: Check if *conn is not NULL
This commit adds a warning and a Kconfig option to `bt_conn_le_create`
and `bt_conn_le_create_synced` functions which are meant to warn a user
of a potential leakage of an active connection object.

This change is implemented due to frequent incorrect use of the
connection pointer where a pointer to an existing connection object
is overwritten by `bt_conn_le_create` and `bt_conn_le_create_synced`
functions which in turns leads to sporadic critical bugs. See
https://github.com/zephyrproject-rtos/zephyr/pull/78284#discussion_r1754304535
for more details.

The Kconfig option is introduced instead of always returning the error
to not affect current implementations. However, it is recommended to
keep this option enabled to avoid potential bugs.

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
2024-10-18 17:46:04 +01:00
Gerard Marull-Paretas
4ab766cafc doc: migration-guide: inform about power-domains[-names]
The new property replaces the old power-domain.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-10-18 17:45:21 +01:00
Gerard Marull-Paretas
f989711a60 pm: s/power-domain/power-domains and add power-domain-names
Some devices may belong to >1 power domain, so with the current design
this is something not possible to describe. It's worth to note that
Linux also uses the `power-domains` naming scheme, not `power-domain`.
This patch also introduces `power-domain-names` so that each entry in
`power-domains` can be given a name if needed. `#power-domain-cells`
is now required as well.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2024-10-18 17:45:21 +01:00
Yassine El Aissaoui
5ae51cf959 samples: bluetooth: Set NXP CI checks as build-only
Flag the central and prepheral ht CI check as build-only.

Signed-off-by: Yassine El Aissaoui <yassine.elaissaoui@nxp.com>
2024-10-18 17:45:07 +01:00
Yassine El Aissaoui
c002e7880a drivers: bt_nxp: delete non monolithic support
Current code does no longer support
the non monolithic feature.
Hence, removing unnecessary code.

Signed-off-by: Yassine El Aissaoui <yassine.elaissaoui@nxp.com>
2024-10-18 17:45:07 +01:00
Yassine El Aissaoui
906a5ec37b soc: nxp: rw: Introduce HAS_NXP_MONOLITHIC_BT config
This config will be used to indicate if a platform
has the support for monolithic BT feature.

Signed-off-by: Yassine El Aissaoui <yassine.elaissaoui@nxp.com>
2024-10-18 17:45:07 +01:00
Emilio Benavente
9d5cceb166 boards: nxp: frdm_mcxn947: Enabled MRT
Enabled the MRT at the board level for
mcxn947. Enabled the clocking for the MRT
in the clock control.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
2024-10-18 17:44:48 +01:00
Emilio Benavente
ae354aa7d4 dts: arm: nxp_mcxn947: Add MRT DTS
Updated the MCXN94x DTS with the MRT node.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
2024-10-18 17:44:48 +01:00
Bjarki Arge Andreasen
0502189729 tests: drivers: comparator: shell: use platform_allow
Change integration_platform -> platform_allow to not build the
shell test suite for all supported boards.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2024-10-18 17:44:30 +01:00
Vivekananda Uppunda
2f23313e37 manifest: Pull promiscuous mode filtering support in driver
This pulls in changes to support promiscuous mode filtering
in driver.

Signed-off-by: Vivekananda Uppunda <vivekananda.uppunda@nordicsemi.no>
2024-10-18 08:31:50 -04:00
Vivekananda Uppunda
da0c30d52a drivers: wifi: nrfwifi: Add promiscuous mode support functions
This adds promiscuous mode support functions into build for filter
operation when the configuration CONFIG_NRF70_PROMISC_DATA_RX
is enabled.

Signed-off-by: Vivekananda Uppunda <vivekananda.uppunda@nordicsemi.no>
2024-10-18 08:31:50 -04:00
Vivekananda Uppunda
c9b56de040 drivers: wifi: nrfwifi: Promiscuous mode filtering support in driver
This set of changes brings in promiscuous mode filtering support in
driver. Since, firmware would be unable to filter packets due to
connection issues, the filtering support for promiscuous mode is
moved to the driver.

Signed-off-by: Vivekananda Uppunda <vivekananda.uppunda@nordicsemi.no>
2024-10-18 08:31:50 -04:00
Andrzej Puzdrowski
17c15e3b4e susbys/dfu/img_util: refined ERASE PROGRESSIVELY implementation
Moved MCUboot trailer's status erase ahead any write operation,
which is step which helps with addition of support for devices
don't require explicit pager erase.
For these kind of devices flattening of mcuboot image status in
the trailer was introduced.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2024-10-18 08:19:28 -04:00
Michał Stasiak
3013604f1b samples: drivers: audio: dmic: Add nRF54L15 to the sample
nRF54L15 FP1 can now be used in dmic audio sample.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2024-10-18 08:19:01 -04:00
Michał Stasiak
f8466b4791 drivers: audio: dmic: Add support for multiple nrf PDM instances
Driver now uses multi-instance PDM nrfx API and
defines PDM device based on available instances.
It also introduces calculating PDM frequency using
prescaler, present on nRF54L15 FP1.
Updated nrfx API version changed to 3.7 to use the
new PDM API.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2024-10-18 08:19:01 -04:00
Michał Stasiak
c092964dd2 modules: hal_nordic: Add new PDM instances
New PDM, some present on nRF54L15 FP1, instances have
been added. Modified condfiguration file for nRF5340,
which now requires PDM0 instance.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2024-10-18 08:19:01 -04:00
Michał Stasiak
005587fd61 modules: hal_nordic: Add nrfx configuration for nRF54L15 FP1
Added dedicated nrfx configuration files for
nRF54L15 FP1, which differ from ENGA variant with
inclusion of PDM.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2024-10-18 08:19:01 -04:00
Nikodem Kastelik
478a40ad89 boards: nordic: nrf54hl: add retained_mem to supported features
Doc and .yaml descriptions shall mention retained_mem
in supported features on affected boards.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
2024-10-18 08:17:53 -04:00
Nikodem Kastelik
e9f1f41e28 tests: drivers: retained_mem: api: add support for nrf54h20
retained_mem driver is now compatible with nrf54h20 cpuapp & cpurad.
Also add missing .conf for nrf54l15.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
2024-10-18 08:17:53 -04:00
Nikodem Kastelik
7048e0bec3 drivers: retained_mem: nrf: align dependencies to nrf54h20
nRF54H20 cpuapp and cpurad are now compatible with retained_mem,
so explicit list of supported devices can be removed.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
2024-10-18 08:17:53 -04:00
Mustafa Abdullah Kus
abea54e574 test: net: lib: add prometheus library tests
Tests for prometheus library support.
It contains integration and unit test
each metric types.

Signed-off-by: Mustafa Abdullah Kus <mustafa.kus@sparsetechnology.com>
2024-10-18 14:17:11 +02:00
Mustafa Abdullah Kus
316e823178 samples: net: add prometheus library sample application
The sample uses the Zephyr HTTP server library
and demonstrates the Prometheus metric
server node. Prometheus client library
runs as a pull method. The sample contains
the HTTP request counter and increases
when refresh path of '/metrics' from the browser.

Signed-off-by: Mustafa Abdullah Kus <mustafa.kus@sparsetechnology.com>
2024-10-18 14:17:11 +02:00
Mustafa Abdullah Kus
d482e3ddfc net: add initial prometheus client library
The library provides Prometheus metrics
types, collector and exposion formatter.
The library isn't thread-safe for now.
The next first pull request will support
that. Can be use exposion formatted
output with Zephyr Http server.

Signed-off-by: Mustafa Abdullah Kus <mustafa.kus@sparsetechnology.com>
2024-10-18 14:17:11 +02:00
Laurentiu Mihalcea
e2872c002a drivers: intc: irqstr: initialize 'enabled' variable
Initialize the 'enabled' variable before using it.
This fixes the following compilation warning:

"warning: 'enabled' may be used uninitialized [-Wmaybe-uninitialized]"

issued when compiling with `CONFIG_DEBUG` enabled.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Tested-by: Daniel Baluta <daniel.baluta@nxp.com>
2024-10-18 14:16:21 +02:00
Laurentiu Mihalcea
cdd5635002 nxp: imx8m: adsp: enable the irqstr interrupt controller
Enable the irqstr interrupt controller for the adsp-based
imx8mp.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Tested-by: Daniel Baluta <daniel.baluta@nxp.com>
2024-10-18 14:16:21 +02:00
Sadik Ozer
e2f5439314 tests: drivers: w1: Move platform_allow in w1-serial
As per of str4t0m request, it is moved under
w1-serial section more detail in below link
https://github.com/zephyrproject-rtos/zephyr/pull/75009

Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
2024-10-18 14:16:14 +02:00
Furkan Akkiz
6380c961d1 tests: drivers: w1: Enable 1-wire driver tests for max32666evkit board
Enable 1-wire driver test for MAX32666EVKIT

Signed-off-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
2024-10-18 14:16:14 +02:00
Sadik Ozer
0c7e3e1fe0 tests: drivers: w1: Add MAX32666FTHR board overlay file
Add MAX32666FTHR board overlay files to w1_api test be supported.

Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
2024-10-18 14:16:14 +02:00
Sadik Ozer
30368e9b4f boards: adi: Add 1-Wire driver in MAX32666 driver list
1-Wire interface can be used with MAX32666 boards
It added in supported interface list

Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
2024-10-18 14:16:14 +02:00
Sadik Ozer
aed0bf33e5 tests: drivers: w1: Add APARD32690 board overlay file
Add APARD32690 board overlay files to w1_api test be supported.

Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
2024-10-18 14:16:14 +02:00
Sadik Ozer
54f1ec68f8 boards: adi: Add 1-Wire driver in APARD32690 driver list
Add 1W driver in APARD32690 driver list

Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
2024-10-18 14:16:14 +02:00
Sadik Ozer
2a8df0a37c tests: drivers: w1: Add MAX32690EVKIT board overlay file
Add MAX32690EVKIT board overlay files to w1_api test be supported.

Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
2024-10-18 14:16:14 +02:00
Sadik Ozer
2b02bf31a9 boards: adi: Add 1-Wire driver in MAX32690EVKIT driver list
Add 1W driver in MAX32690EVKIT driver list

Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
2024-10-18 14:16:14 +02:00
Tahsin Mutlugun
e3355e9a53 tests: drivers: w1: Add MAX32680EVKIT board overlay file
Support MAX32680EVKIT in 1-wire tests.

Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
2024-10-18 14:16:14 +02:00
Sadik Ozer
b9ec607d26 boards: adi: Add 1-Wire driver in MAX32680EVKIT driver list
Add 1W driver in MAX32680EVKIT driver list

Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
2024-10-18 14:16:14 +02:00
Sadik Ozer
0f3aa5d53d tests: drivers: w1: Add MAX32655EVKIT board overlay file
Add MAX32655EVKIT board overlay files to w1_api test be supported.

Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
2024-10-18 14:16:14 +02:00
Sadik Ozer
fd9b1332aa boards: adi: Add 1-Wire driver in MAX32655EVKIT driver list
1-Wire interface can be used with MAX32655EVKIT
It added in supported interface list

Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
2024-10-18 14:16:14 +02:00
Sadik Ozer
6623e834db dts: Add 1-Wire inside device tree
Add 1-Wire register file
Some MAX32 MCUs has 1-Wire peripheral some one not
So that added in device related dtsi file.

Has 1-W       Not have 1-W
MAX32655        MAX32662
MAX32666        MAX32670
MAX32680        MAX32672
MAX32690        MAX32675

Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
2024-10-18 14:16:14 +02:00
Sadik Ozer
3c4f819c02 drivers: w1: Add MAX32xxx 1-Wire driver
Added 1-Wire master driver for MAX32xxx MCUs

Signed-off-by: Sadik Ozer <sadik.ozer@analog.com>
2024-10-18 14:16:14 +02:00
Ha Duong Quang
08a4259a0a boards/tests: dma: enable dma for S32Z270
Enable dma boards/test for S32Z270.

The non-cacheable memory used for DMA tests (chan_blen_transfer and
loop_transfer) is split from the system SRAM.

Signed-off-by: Ha Duong Quang <ha.duongquang@nxp.com>
2024-10-18 14:16:05 +02:00