Commit graph

113274 commits

Author SHA1 Message Date
Remi Buisson
ca7c6be61e samples: sensor: Barometric pressure polling generic example
Polls and reports pressure, temperature and altitude data

Signed-off-by: Remi Buisson <remi.buisson@tdk.com>
2025-04-07 15:17:44 +02:00
Remi Buisson
9dc3b757cc dts: bindings: sensor: Add invensense icp201xx properties
Add I2C and SPI variants for icp201xx.

Signed-off-by: Remi Buisson <remi.buisson@tdk.com>
2025-04-07 15:17:44 +02:00
Remi Buisson
7f0b538d4a drivers: sensor: icp201xx: Add icp201xx support
Use official TDK Invensense driver for icp201xx sensor in tdk_hal module.

Signed-off-by: Remi Buisson <remi.buisson@tdk.com>
2025-04-07 15:17:44 +02:00
Remi Buisson
7a20afba9a modules: hal_tdk: Add icp201xx support
icp201xx are barometric pressure and temperature sensors.
https://invensense.tdk.com/smartpressure

Signed-off-by: Remi Buisson <remi.buisson@tdk.com>
2025-04-07 15:17:44 +02:00
Iuliana Prodan
66ab75ff96 dts: xtensa: nxp: add mailbox node
Add mailbox node used for inter-process communication.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2025-04-07 15:17:34 +02:00
Iuliana Prodan
ab5c0b5195 soc: nxp: imx: add resource_table section in linker script
Add resource_table section in linker script
for i.MX8ULP, for inter-process communication.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2025-04-07 15:17:34 +02:00
Iuliana Prodan
54f99bf8b0 dts: xtensa: nxp: fix compile warning
Fix the following compile warning:
"Warning (unique_unit_address_if_enabled):
/cpus/cpu@0: duplicate unit-address (also used
in node /cpus/interrupt-controller@0)"

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2025-04-07 15:17:34 +02:00
Vinayak Kariappa Chettimada
d8cd8ddc51 samples: Bluetooth: bap_broadcast_source nRF5340 audio dk + nRF21540 FEM
Added overlay file to support nRF5340 audio dk + nRF21540
FEM.

Build the hci_ipc with corresponding overlay file to use the
nRF21540 FEM with the bap_broadcast_source sample on nRF5340
audio kit.

Use the below commandline:
$ west build -b nrf5340_audio_dk/nrf5340/cpuapp --sysbuild \
  samples/bluetooth/bap_broadcast_source \
  -DDTC_OVERLAY_FILE= \
  boards/nrf5340_audio_dk_nrf5340_cpuapp_nrf21540_ek.overlay \
  -Dhci_ipc_DTC_OVERLAY_FILE= \
  boards/nrf5340_audio_dk_nrf5340_cpunet_nrf21540_ek.overlay

Related to commit 35ad653038 ("samples: Bluetooth:
hci_uart/hci_ipc: CI coverage for nRF53+nRF21 FEM").

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-04-07 11:23:11 +02:00
Anisetti Avinash Krishna
2933dea4ea boards: intel: Updated TSC frequency values
Updated TSC frequency values of intel boards.

Signed-off-by: Anisetti Avinash Krishna <anisetti.avinash.krishna@intel.com>
2025-04-07 11:22:45 +02:00
Anas Nashif
5c8cf1c18c tests: fix various test ids and use existing scheme
Fix IDs and match them to what we have in the MAINTAINERS file.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-04-07 11:22:36 +02:00
Anas Nashif
65551f2a99 tests: move NRFS tests under tests/boards/nrf
This is not a Zephyr subsystem. It is unique to NRF.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-04-07 11:22:36 +02:00
Hein Wessels
7d56d6a0b0 lib: os: cbprintf: add initializer for xtensa padding
Hush the compiler warning for missing initializer when compiling
for both Xtensa and C++.

Signed-off-by: Hein Wessels <heinwessels93@gmail.com>
2025-04-07 11:22:21 +02:00
Dipak Shetty
e92c21f2c9 samples: sensor: thermometer: updated to support frdm_rw612
Extended to support on board p3t1755 temperature sensor
on frdm_rw612 board.

Signed-off-by: Dipak Shetty <shetty.dipak@gmx.com>
2025-04-07 11:21:58 +02:00
Dipak Shetty
1c33c048cc boards: nxp: frdm_rw612: add ambient temperature sensor
Now added on board p3t1755 temperature sensor node and the
corresponding alias.

Signed-off-by: Dipak Shetty <shetty.dipak@gmx.com>
2025-04-07 11:21:58 +02:00
Lothar Felten
8aed16bf85 boards: lilygo: ttgo_tbeam: initial support
adds initial support for Lilygo TTGO TBeam board

Co-authored-by: Jamie <40387179+nordicjm@users.noreply.github.com>
Co-authored-by: Benjamin Cabé <benjamin@zephyrproject.org>

Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
2025-04-07 11:21:51 +02:00
Pavel Vasilyev
fd4cc0e031 bluetooth: host: att: Remove meaningless check
`>= 0` was used when EATT support was implemented (#23199) because
`bt_l2cap_chan_send` could return number of bytes sent. After PR #67528,
`bt_l2cap_chan_send` doesn't return amount of bytes sent or any positive
value, but either 0 or negative value. Thus `>= 0` is not needed. It
also confusing when reading code, especially when the same check is not
implemented in other cases where underlying function `chan_send` is
used.

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
2025-04-07 09:59:29 +02:00
Pavel Vasilyev
e53e4cf0a2 bluetooth: host: att: Remove att_sent function
`att_sent` is removed as it does not provide any value. All checks are
already performed in `att_on_sent_cb`, and keeping it only increases
readability complexity.

`att_sent` is removed as doesn't give any value. All checks are done
already in `att_on_sent_cb`. It just increases readness complexity.

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
2025-04-07 09:59:29 +02:00
Pavel Vasilyev
18b85290cd bluetooth: host: att: Remove chan_req_send
The extra `bt_att_chan_req_send` does nothing but increases readability
complexity. All checks are already performed by the caller.

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
2025-04-07 09:59:29 +02:00
Frank Bintakies
bda045940e boards: kws: Add support for KWS Pico-SPE Boards
Add support for KWS Pico-SPE based on
Raspberry Pi RP2040

Add support for KWS Pico2-SPE based on
Raspberry Pi RP2350

Signed-off-by: Frank Bintakies <fbintakies@kws-computer.de>
2025-04-07 09:59:19 +02:00
Sven Ginka
643a76a38d board: sensry: add starter-kit-board
Add soc support for Sensry's RISCV32 based SY1xx.
Variants of the soc are GBM and GEN1 with the
board support for start kit board, which is
a demo board for both soc variants.

Signed-off-by: Sven Ginka <s.ginka@sensry.de>
2025-04-07 09:59:15 +02:00
Emil Gydesen
707c518a92 Bluetooth: CAP: Add better active_proc checks
The existing checks were not thread safe at all.
Replace the checks by using atomic_test_and_set_bit
and then clearing the bit again on error.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-04-07 09:59:08 +02:00
Jordan Yates
a7106a1f9d boards: nordic: thingy53: specify ble support
Notify twister that the thingy53 supports Bluetooth Low Energy.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-04-07 08:54:58 +02:00
Aksel Skauge Mellbye
1f6ff7b100 doc: Fix html-live doc command
OUTPUT_DIR was not passed to the html-live target, causing a
Python exception:

```
TypeError: argument should be a str or an os.PathLike object
           where __fspath__ returns a str, not 'NoneType'
```

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-04-07 08:54:49 +02:00
Aksel Skauge Mellbye
90dbc8dfd1 boards: silabs: Add ITM configuration
Configure pinout and frequency for Serial Wire Output to enable use
of the SWO logging backend on Silicon Labs dev kits.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-04-07 08:54:38 +02:00
Aksel Skauge Mellbye
02bcad219c dts: arm: silabs: Add ITM node to cpu core for Series 2
ARM Cortex-M33 has the Instrumentation Trace Macrocell peripheral.
Add it to SoC DTS.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-04-07 08:54:38 +02:00
Aksel Skauge Mellbye
64a4c593e1 drivers: pinctrl: silabs: Add support for fixed routes
Add support for fixed GPIO routes that don't have a configurable
route register, but still require mode configuration and enabling.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-04-07 08:54:38 +02:00
Eve Redero
1ae97f12d6 manifest: hal_atmel: bump hash for missing macro
The ADC_MR_STARTUP and ADC_MR_SETTLING macros are required
by SAM ADC driver, and is missing for sam3x variants.

Signed-off-by: Eve Redero <eve.redero@gmail.com>
2025-04-07 08:54:28 +02:00
Gerard Marull-Paretas
bea0a068e1 drivers: gpio: nrf: add support for gpio_pin_get_config
So that pin configuration can be queried.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2025-04-07 08:54:20 +02:00
Gerard Marull-Paretas
becf5edb08 manifest: update hal_nordic
So that we have access to the new nrf_gpio_pin_drive_get() API.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2025-04-07 08:54:20 +02:00
Mark Wang
28ba838cda bluetooth: classic: hfp: sco_conn is null in hfp sco_disconnected callback
In bt_sco_disconnected, chan->sco is set as NULL before callback. Then
hfp disconnection callback use it to callback to application in
hfp_hf_sco_disconnected.

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2025-04-07 07:28:18 +02:00
Jordan Yates
7a6f0a4928 tests: timer: validate K_TIMEOUT_ABS_SEC
Validate that `K_TIMEOUT_ABS_SEC` works the same way as the other
absolute timeout construction macros.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-04-07 07:28:00 +02:00
Jordan Yates
c042ddde20 kernel: add K_TIMEOUT_ABS_SEC
Add a new absolute timeout construction macro that operates on seconds.
It has the same semantics as `K_TIMEOUT_ABS_MS`, `K_TIMEOUT_ABS_US`,
etc.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-04-07 07:28:00 +02:00
Alvis Sun
dd578065bc soc: nuvoton: npcx: refactor npcx soc hierarchy for future chip support
This commit refactors the NPCX SoC hierarchy to improve maintainability and
enable future support for upcoming chips.

Key changes include:
1. Introduced a new `npcxn` subdirectory under `common/` to consolidate
shared components across the npcxn series.
2. Renamed and reorganized register access files for improved consistency.
3. Updated relevant Kconfig files, header files, and CMakeLists
for the new structure.

Signed-off-by: Alvis Sun <yfsun@nuvoton.com>
2025-04-07 07:27:38 +02:00
Marek Matej
f10e7b8395 soc: espressif: esp32: Allow DRAM1 to use for .noinit
Add config to relocate the .noinit section to DRAM1 region.
Remove unused config.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2025-04-07 07:27:23 +02:00
Thao Luong
1f9f4c8cee MAINTAINERS: Update collaborator for Renesas RA Platform
Add @thenguyenyf as collaborator for Renesas RA Platform

Signed-off-by: Thao Luong <thao.luong.uw@renesas.com>
2025-04-06 12:18:14 +02:00
Nhut Nguyen
6ca84e3c9a soc: renesas: rz: Fix loader program
Due to a change in linker script cortex_a_r/scripts/linker.ld
, the _image_ram_start has been changed so the Zephyr image
cannot be copied from flash to ram as expected
and cannot run properly.
It is replaced by CONFIG_SRAM_BASE_ADDRESS, the _image_ram_size is also
replaced by _flash_used as a preventive measure.

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2025-04-06 12:18:07 +02:00
Marcio Ribeiro
c2235a727d samples: i2s: add esp32 board overlay files
Adds esp32 board overlay files to i2s samples

Signed-off-by: Marcio Ribeiro <marcio.ribeiro@espressif.com>
2025-04-06 12:17:58 +02:00
Marcio Ribeiro
a4a2bb273a boards: esp32: add i2s for non-gdma SoC boards
Adds i2s support for boards based on:
- esp32
- esp32s2

Signed-off-by: Marcio Ribeiro <marcio.ribeiro@espressif.com>
2025-04-06 12:17:58 +02:00
Marcio Ribeiro
c01489dadc drivers: i2s: esp32: add support for non-gdma SoCs
Adds support for:
- esp32
- esp32s2

Signed-off-by: Marcio Ribeiro <marcio.ribeiro@espressif.com>
2025-04-06 12:17:58 +02:00
Marcio Ribeiro
0cedd4d3d9 drivers: i2s: esp32: code and data refactoring
Code and data refactoring to prepare for adding support for non-gdma SoCs

Signed-off-by: Marcio Ribeiro <marcio.ribeiro@espressif.com>
2025-04-06 12:17:58 +02:00
Anas Nashif
130f2ce641 ci: twister: set number of jobs to use
We want to control the number of jobs we run in parallel. Detection on
some runners can be wrong.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-04-05 22:30:26 +09:00
Benjamin Cabé
207a048811 doc: requirements: switch to uv compile
Use uv compile to generate requirements.txt from requirements.in
This works better to capture dependencies that work for multiple python
versions, not just the one that was used to generate the
requirements.txt file.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-04-05 11:02:21 +02:00
Sylvio Alves
ac0705d59b soc: espressif: update restart procedure
Use esp_restart call to guarantee and registered
shutdown handlers will be triggered before rebooting.
This guarantees that subsystems like Wi-Fi and BLE
will deinit correctly.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-04-05 11:02:13 +02:00
Pieter De Gendt
739066743f gitlint: Add ignored rules for dependabot
Dependabot will have an auto-generated body and is likely to fail the max
line length check.
The bot also does not use a full name for the signed-of-by line.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-04-05 11:01:58 +02:00
Eric Holmberg
487830c380 data: json: remove extra braces causing designated-initializer errors
When compiling in C++, the designated-initializer error:
	Either all initializer clauses should be designated
	or none of them should be

Will occur due to an extra pair of braces in the Z_JSON_DESCR_OBJ() macro.

Remove the extra pare of braces which allows the code to compile and
function in both C and C++.

Signed-off-by: Eric Holmberg <eric.holmberg@northriversystems.co.nz>
2025-04-05 11:01:50 +02:00
Paul Timke Contreras
9c5abb35b5 tests: drivers: build_all: sensor: i2c.dtsi fix address typo
The address of the last i2c device in the build all test has a wrong
address. This fixes that typo.

Signed-off-by: Paul Timke Contreras <ptimkec@live.com>
2025-04-04 21:17:09 +02:00
Yuval Peress
ba9b4f3734 ztest: Fix confusing SKIP log
When CONFIG_ZTEST_FAIL_ON_ASSUME is set, a failed assumption will
cause the suite to fail, but the individual test will be marked as
SKIPPED. We should fail the test so it's clear what's going on.

Fixes #86611

Signed-off-by: Yuval Peress <peress@google.com>
2025-04-04 21:16:34 +02:00
Ivan Wagner
b5adb4457c drivers: sensor: meas: ms5837 supporting 02 and 30 variants via dt
This patch adds support via dt compatible property.

Signed-off-by: Ivan Wagner <ivan.wagner@tecinvent.ch>
2025-04-04 21:16:20 +02:00
IBEN EL HADJ MESSAOUD Marwa
8db85916f2 drivers: ethernet: Integrate GRMII and RMII interfaces
- Added macros `STM32_ETH_PHY_MODE`
  to determine the PHY mode (RGMII, GMII, RMII, and MII)
  from the `phy_connection_type` property in the device tree.
- Removed previous definitions for ETH_MEDIA_INTERFACE_MII
  and ETH_MEDIA_INTERFACE_RMII.
- Updated STM32_ETH_PHY_MODE macro to use ETH_MII_MODE
  and ETH_RMII_MODE.

Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <marwa.ibenelhadjmessaoud-ext@st.com>
2025-04-04 21:16:02 +02:00
IBEN EL HADJ MESSAOUD Marwa
11a1b89948 boards: st: stm32n6570_dk: Add ethernet node
Add the Ethernet MAC and MDIO nodes in the device tree.
Add Kconfig for Ethernet Support.

Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <marwa.ibenelhadjmessaoud-ext@st.com>
2025-04-04 21:16:02 +02:00