Commit graph

136,983 commits

Author SHA1 Message Date
Sebastian Bøe
a053b97144 soc: ironside: counter_service: 2 compilation errors fixed
2 compilation errors fixed in counter service.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2025-11-27 13:47:58 +00:00
Benjamin Klaric
e83f36f934 boards: stm32h7s78_dk: add FDCAN1 support
Add FDCAN1 configuration to the board's .dtsi file and
comments explaining how to enable it, since fdcan1 and i2c1
share the pb9 pin. Updated documentation to explain CAN usage.

Signed-off-by: Benjamin Klaric <benjamin.klaric01@gmail.com>
2025-11-27 14:47:01 +01:00
Benjamin Cabé
8349a01b13 cmake: extensions: remove invalid add_dependencies
The `add_dependencies` command in CMake is used to specify dependencies
between targets - here it was used to specify a dependency on a folder,
which is not valid (and causes failures on CMake 4.2 when using
the cmake-file-api).

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-11-27 14:46:50 +01:00
Jamie McCrae
33a5c301a1 dfu: kconfig: Raise limit of MCUboot images to 8
This update was seemingly forgotten when additional image support
was added to supporting MCUboot files

Signed-off-by: Jamie McCrae <spam@helper3000.net>
2025-11-27 14:46:40 +01:00
Jamie McCrae
5c713cd7d4 dfu: kconfig: Fix styling
Fixes this styling to be valid

Signed-off-by: Jamie McCrae <spam@helper3000.net>
2025-11-27 14:46:40 +01:00
Jamie McCrae
6950bf2b42 dfu: boot: cmake: Fix styling
Fixes this styling to be valid

Signed-off-by: Jamie McCrae <spam@helper3000.net>
2025-11-27 14:46:40 +01:00
Jamie McCrae
a12e21fe8e dfu: boot: mcuboot: Use Kconfig for log level
Prevents this module from just trampling over your logging with
debug logs no matter the configuration

Signed-off-by: Jamie McCrae <spam@helper3000.net>
2025-11-27 14:46:40 +01:00
Remi Buisson
f4170e255f modules: hal_tdk: Update icm42x7x driver version 3.3.0
Update icm42x7x driver to version 3.3.0.

Signed-off-by: Remi Buisson <remi.buisson@tdk.com>
2025-11-27 14:46:23 +01:00
Tim Lin
8c00b5359b drivers: i2c: i2c_ite_enhance: refactor pio isr handling
This commit refactors the pio isr handling to avoid losing i2c
transactions that occur back-to-back. It also removes the
compile-time check for target buffer mode config, as both pio
and dma modes are now supported.

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw>
2025-11-27 14:46:14 +01:00
Aksel Skauge Mellbye
eabde5b278 soc: silabs: Add xg24 variants
Add support for more SoC variants for xG24.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-11-27 14:45:47 +01:00
Robert Lubos
a00fefc5a9 net: sockets: tls: Specify a separate Kconfig option for TLS timeout
It's been periodically reported that the default connect timeout shared
with regular TCP sockets (3 seconds) is not enough for the TLS handshake
to complete. Therefore, it'd make sense to increase the default value
for TLS sockets specifically. However currently the option is used by
both TCP and TLS connections, which makes this impractical.

Therefore, introduce a separate CONFIG_NET_SOCKETS_TLS_CONNECT_TIMEOUT
Kconfig option for TLS sockets specifically, and set the default to 10
seconds. For samples/tests that modified the old option for TLS-specific
purpose, update the new option value as well.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-11-27 14:45:32 +01:00
Robert Lubos
996a0f445c net: sockets: tls: Fix timeout error code for blocking accept()
In case a handshake timed out on a blocking accept() call, the TLS
socket would return EAGAIN error which is ambiguous and not intuitive.
Report ETIMEDOUT instead.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-11-27 14:45:32 +01:00
Nikodem Kastelik
ad1e5ac253 nordic: update and align to nrfx 4.0.1
New nrfx release contains major rework of nrfx drivers
instantiation making it easier to integrate with dts nodes.
Now, nrfx driver instances can no longer be `const`
because they contain driver runtime state.
Additionally, all nrfx drivers return `errno` error codes
instead of deprecated `nrfx_err_t`.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
2025-11-27 14:45:17 +01:00
Sylvio Alves
8ae38804ac tests: board: espressif: update net struct usage
Fix net struct naming convention.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-11-27 11:37:26 +01:00
Aurelien Jarno
5f5db5bf3c net: mqtt_sn: udp: use correct get/setsockopt parameters for IPv6
On IPv6, IPPROTO_IPV6 needs to be replaced by IPPROTO_IP and
IP_MULTICAST_TTL by IPV6_MULTICAST_HOPS.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2025-11-27 11:35:03 +01:00
Aurelien Jarno
5e3bf02e50 net: mqtt_sn: udp: ignore EALREADY when adding multicast addresses
On IPv6, the host is subscribed to a few multicast addresses by default.
Reusing such an address for MQTT-SN leads to an EALREADY error. Ignore
this error instead of returning. Do the same for IPv4 for consistency,
and because it could happen if the multicast address has already been
added manually from another part of the code, although this is really a
corner case.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2025-11-27 11:35:03 +01:00
Aurelien Jarno
e3013fe5c2 net: mqtt_sn: udp: reserve enough space to hold an IPv6 address
The current allocated buffer for storing the IP address is not always
large enough to hold an IPv6 address.  Instead of using a hard-coded
value, use NET_INET6_ADDRSTRLEN, which covers all cases, including
possible mapped IPv4 addresses.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2025-11-27 11:35:03 +01:00
Aurelien Jarno
05dd10c3f1 net: mqtt_sn: udp: fix return value in case of error
errno returns a positive value, while the API specifies that a negative
value is returned in case of error. Therefore replaces "return errno" by
"return -errno".

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2025-11-27 11:35:03 +01:00
Simon Piriou
25f667a6a0 net: l2: ieee802154: don't use net_context->local for AF_PACKET sockets
There is an issue with AF_PACKET sockets bound to ieee802154 l2 iface.
The socket keeps track of the iface link_addr with a sockaddr_ll_ptr
structure, with sll_addr pointing to the iface link_addr address, and
sll_halen being a copy of the iface link_addr length.

The iface link address for ieee802154 can change during association
between extended address (8 bytes) and short address (2 bytes). The
iface link_addr s correctly updated, but the sll_halen of already bound
sockets is not, as it's a out of sync local copy.

This commit fixes #99711 by replacing all the sll_halen usage for
AF_PACKET socket with the iface link_addr length directly on recv and
send paths.

Signed-off-by: Simon Piriou <spiriou31@gmail.com>
2025-11-27 11:34:54 +01:00
Lyle Zhu
57b7899e3a Bluetooth: att: Fix NULL pointer access issue
If the connect type is not `LE`, the return value of function
`bt_conn_get_dst()` is a NULL pointer. In function `bt_addr_le_str()`,
 the NULL pointer will be accessed without any checking. It will cause
the issue `Segmentation fault` in the platform `native_sim`.

Fix the issue by checking the conn type at the beginning of the
function `eatt_auto_connect()`.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-11-27 11:34:39 +01:00
Kiara Navarro
ee7792c343 lora: remove EXPERIMENTAL from already unstable api
Based on api lifecycle documentation, the lora driver has been recently
moved to unstable. This means that the state of this driver is no longer
experimental. Due this new state, the change should be updated on
Kconfig.

This commit remove the `EXPERIMENTAL` symbol selection from the driver
itself. It also remove the word `experimental` from the lora basic
modem backend since the api lifecycle documentation only describes the
state of the api based upon the api itself and not any particular
backend implementation.

Signed-off-by: Kiara Navarro <knavarro@paltatech.com>
2025-11-27 11:33:59 +01:00
Fabio Baltieri
0d64686ef5 include: ec_host_cmd: add an extra _ on handler structs
Add an extra _ on the handler struct name generated bu the
EC_HOST_CMD_HANDLER macros, this makes them a bit easier to list as they
now look something like

__cmd_EC_CMD_GET_VERSION

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-11-27 11:33:51 +01:00
Fabio Baltieri
0b63777843 include: ec_host_cmd: add a request and response only handler macros
Add two macro variants for registering handlers that have either only a
request structure or only a response structure.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-11-27 11:33:51 +01:00
Francois Ramu
b4cdb239c8 soc: st: stm32u5 set backup sram retention if regulator is LDO
On the stm32u5 series, this commit will enable backup sram regulator
when the regulator is LDO, during SOC init. Then stm32_backup_sram_init
does not change the backup SRAM retention anymore.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2025-11-27 11:33:40 +01:00
Hau Ho
75e0bea1c9 tests: drivers: spi: Add overlay file for spi_loopback test
Add overlay file for EK-RX261 and FPB-RX261 boards

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2025-11-27 11:33:28 +01:00
Hau Ho
00a209e304 boards: renesas: Add SPI support for FPB-RX261 board
Add SPI support for FPB-RX261 board

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2025-11-27 11:33:28 +01:00
Hau Ho
9082bb78bb boards: renesas: Add SPI support for EK-RX261 board
Add SPI support for EK-RX261 board

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2025-11-27 11:33:28 +01:00
Hau Ho
51f3e6702d dts: renesas: rx: Add dts property node for SPI support on RX261
Add dts property node for SPI support on RX261

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2025-11-27 11:33:28 +01:00
Jordan Yates
325c354913 scripts: build: ruff compliance
Update scripts in the build folder to pass all enabled `ruff` checks.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-11-27 11:33:18 +01:00
Jordan Yates
b9a3f42d18 scripts: build: apply ruff format
Apply `ruff` formatting rules to all scripts in the build folder.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-11-27 11:33:18 +01:00
Qingsong Gou
e968b69db8 drivers: adc: sf32lb: add adc driver support
Add adc driver for sf32lb platform

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2025-11-27 11:32:59 +01:00
Qingsong Gou
7fa0c99e4d dts: arm: sifli: add adc node
Add adc controller for sf32lb platform

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2025-11-27 11:32:59 +01:00
Qingsong Gou
a5cd2966d3 dts: bindings: adc: add sifli,sf32lb-gpadc
Add adc controller for sf32lb platform

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2025-11-27 11:32:59 +01:00
McAtee Maxwell
80ab57446f boards: add spi support for kit_pse84_eval_m33
- add spi to supported in board yaml file
- add spi_loopback test overlay

Signed-off-by: McAtee Maxwell <maxwell.mcatee@infineon.com>
2025-11-27 11:32:46 +01:00
McAtee Maxwell
32a75ec537 boards: update kit_pse84_eval/m33 to use cached address for flash
- update address for flash to cached address

Signed-off-by: McAtee Maxwell <maxwell.mcatee@infineon.com>
2025-11-27 11:32:46 +01:00
Benjamin Cabé
4d5b5d6575 doc: conf.py: add glossary link to sidebar
Add a link to the glossary in the "Reference" section of the sidebar.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-11-27 11:32:30 +01:00
Rico van Dongen
e55bf93d5d cmake: allow spaces in install path of GNU Arm Embedded linker
This commit fixes bug #95402. When the GNU toolchain is installed
in its default path the library include dir will contain spaces.
By encasulating the library path in quotes the linker works again.

Signed-off-by: Rico van Dongen <rdongen@ziggo.nl>
2025-11-27 11:32:19 +01:00
Lyle Zhu
741afc85af Bluetooth: Classic: HFP_AG: Optimize audio connect management
In current implementation, the call will be terminated, or rejected if
the audio connect cannot be established. But from the application
view, if the sco connect cannot be established, the audio paths can be
routed towards the AG. So force routeing the audio towards the HF is
not reasonable and it is not the mandatory.

The changes aim to keep the sequence that creating SCO connect in the
right time. And ignore the result whether the SCO connect has been
created or can be established.

If the audio connect cannot be established, the application can try to
change the audio route paths according to the audio connection
procedure.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-11-27 11:31:36 +01:00
Khoa Tran
940ae75941 tests: boards: renesas: Add ELC test support for mck_ra4t1
Add ELC test support for Renesas mck_ra4t1

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2025-11-27 11:30:12 +01:00
Khoa Tran
26b7d8efec tests: drivers: flash: Add tests support for Renesas mck_ra4t1
Add support for test app on Renesas mck_ra4t1:
- tests/drivers/flash/common

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2025-11-27 11:30:12 +01:00
Khoa Tran
da7f81d2ad tests: drivers: dma: Add tests support for Renesas mck_ra4t1
Add support for test app on Renesas mck_ra4t1:
- tests/drivers/dma/chan_blen_transfer
- tests/drivers/dma/chan_blen_transfer

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2025-11-27 11:30:12 +01:00
Khoa Tran
d373a46a59 tests: drivers: dac: Add tests support for Renesas mck_ra4t1
Add support for test app on Renesas mck_ra4t1:
- tests/drivers/dac/dac_api
- tests/drivers/dac/dac_loopback

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2025-11-27 11:30:12 +01:00
Khoa Tran
56c4611f6f tests: drivers: adc: Add tests support for Renesas mck_ra4t1
Add support for test app on Renesas mck_ra4t1:
- tests/drivers/adc/adc_accuracy_test
- tests/drivers/adc/adc_api

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2025-11-27 11:30:12 +01:00
Khoa Tran
f267689288 tests: drivers: counter: Add test support for Renesas mck_ra4t1
Add support for test app on Renesas mck_ra4t1:
- tests/drivers/counter/counter_basic_api

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2025-11-27 11:30:12 +01:00
Khoa Tran
7087edd517 tests: drivers: pwm: Add test support for Renesas mck_ra4t1
Add support for test app on Renesas mck_ra4t1:
- tests/drivers/i2c/i2c_api

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2025-11-27 11:30:12 +01:00
Khoa Tran
9119b57834 tests: drivers: spi: Add test support for mck_ra4t1
Add support for test app Renesas mck_ra4t1:
- tests/drivers/spi/spi_loopback

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2025-11-27 11:30:12 +01:00
Khoa Tran
798a81b7e7 tests: drivers: uart: Add test support for mck_ra4t1
Add support for test app on Renesas mck_ra4t1:
- tests/drivers/uart/uart_async_api

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2025-11-27 11:30:12 +01:00
Khoa Tran
8e33cdb13f samples: boards: renesas: Add ELC sample support for mck_ra4t1
Add ELC sample support for Renesas mck_ra4t1

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2025-11-27 11:30:12 +01:00
Khoa Tran
e7f3c41175 samples: drivers: adc: Add sample support for Renesas mck_ra4t1
Add support for sample apps on Renesas mck_ra4t1 board:
- samples/drivers/adc/adc_dt
- samples/drivers/adc/adc_sequence

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2025-11-27 11:30:12 +01:00
Khoa Tran
a764f7b7cd samples: drivers: dac: Add sample support for Renesas mck_ra4t1
Add support for sample app on Renesas mck_ra4t1:
- samples/drivers/dac

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2025-11-27 11:30:12 +01:00