Commit graph

136,983 commits

Author SHA1 Message Date
Pieter De Gendt
db72f5228e net: ip: Add net_family2size helper function
Add a function to translate the socket address family to the size of the
concrete socket address type.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-03-10 12:38:37 +01:00
Pieter De Gendt
d6bcdb12b3 net: ip: Move struct net_sockaddr_nm to net_ip.h
Move the structure definition to common header for sockaddr definitions.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-03-10 12:38:37 +01:00
Pieter De Gendt
7002434c24 net: ip: Move struct net_sockaddr_can to net_ip.h
Move the structure definition to common header for sockaddr definitions.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-03-10 12:38:37 +01:00
Yongxu Wang
1a27ec9a18 pm: policy: fix duplicated space in policy
Fix duplicated space in policy_state_lock file

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2026-03-10 12:37:59 +01:00
Valerio Setti
8f0503855a modules: openthread: add missing MBEDTLS_ASN1_PARSE_C dependency
OT now uses "mbedtls_asn1_get_tag" which makes MBEDTLS_ASN1_PARSE_C
required.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-03-10 12:37:35 +01:00
Valerio Setti
c9228f7503 manifest: openthread: include fixes for Mbed TLS 4
Bump OpenThread version in order to include fixes that are necessary
to allow the integration of Mbed TLS 4.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-03-10 12:37:35 +01:00
Valerio Setti
446f5e2594 modules: mbedlts: remove key exchanges with RSA encryption
Ciphersuites using RSA encryption were removed from Mbed TLS 4.0. As a
consequence this commit removes
MBEDTLS_CIPHERSUITE_TLS_RSA_WITH_AES_256_CBC_SHA256 and
MBEDTLS_KEY_EXCHANGE_RSA_ENABLED.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-03-10 12:36:50 +01:00
Valerio Setti
4af3b66f8f samples|tests: replace key exchange with RSA encryption
Key exchanges with RSA encryption has been removed from Mbed TLS 4. This
commit replaces them with other ciphersuites.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>

This reverts commit 72bb0a077545efe65f801704334c753f32ee693b.
2026-03-10 12:36:50 +01:00
Valerio Setti
6a5bd4ab6a tests: net: sockets: tls_configurations: adapt to Mbed TLS 4.0
- RSA based key exchanges were removed so the corresponding test case is
  also removed. It has been replaced with a PSK one, still using TLS 1.2.
- Configuration overlay files were removed because thank to ciphersuite
  Kconfig it's now pretty trivial and compact to select what's required
  for a connection.

pytest script was updated accordingly.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-03-10 12:36:50 +01:00
Valerio Setti
a302bd1de4 modules: mbedtls: add some TLS 1.2 and TLS 1.3 ciphersuite Kconfig
Adding:
- MBEDTLS_CIPHERSUITE_TLS1_3_AES_256_GCM_SHA384
- MBEDTLS_CIHPERSUITE_TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-03-10 12:36:50 +01:00
Scott Shawcroft
d0406bfd0f arch posix: Optionally use stack bounds of pthread
The native_sim uses the pthread stack instead of the Zephyr allocated ones.
This adds CONFIG_ARCH_POSIX_UPDATE_STACK_INFO to the posix arch to make the
real stack bounds available in thread info. (CircuitPython uses this to do
it's own stack overflow checking and recovery.)

The original stack values are restored on abort for backwards
compatibility with CMSIS v1.

Signed-off-by: Scott Shawcroft <scott@adafruit.com>
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-03-10 12:35:42 +01:00
Scott Shawcroft
72f06372bd native_simulator: Get latest from upstream
Align with native_simulator's upstream main
14bbf7010dfcde473f11a6ae5674abc1e72aa488

Which includes:
14bbf70: nct: Add function to get thread stack information

Signed-off-by: Scott Shawcroft <scott@adafruit.com>
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-03-10 12:35:42 +01:00
Marek Matej
e4bbfef655 snippets: espressif: add esp prefix
Add prefix 'espressif' to Espressif related snippets.
Update list of supported flash and usage documentation.
Fix names of some configuration files.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2026-03-10 12:35:23 +01:00
Fin Maaß
1c74e47020 boards: litex: litex_vexriscv: add litesdcard
add litesdcard host controller.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-10 12:33:41 +01:00
Fin Maaß
068569a268 drivers: sdhc: litex: add litesdcard driver
add litex litesdcard driver.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-10 12:33:41 +01:00
Shiven Kashyap
8bb2b52fd7 doc: stepper: fix doxygen grouping
Remove redundant "interface" suffix from stepper groups and
update `@ingroup` references so `stepper.h` appears under the correct
group.

Signed-off-by: Shiven Kashyap <shivenkashyap24@gmail.com>
2026-03-10 09:40:58 +01:00
Khai Cao
e08cbc77e0 drivers: flash: select MPU_ALLOW_FLASH_WRITE for Renesas RA MRAM
MRAM programs via direct memory-mapped writes, which the ARM MPU
blocks unless MPU_ALLOW_FLASH_WRITE is enabled. Fixes a Data Access
Violation on ra8x2 when running the flash common test suite.

Signed-off-by: Khai Cao <khai.cao.xk@renesas.com>
2026-03-10 09:39:10 +01:00
Tony Han
3c07a68ae2 drivers: net: sam_gmac: set GMAC_NCFGR.GBE when working in Gigabit mode
Set register bit GMAC_NCFGR.GBE to configure GMAC for 1000Mbps operation.
Gigabit mode is not supported by SAM E70/S70/V70/V71 family, it is
supported by SAMA7G54.

Signed-off-by: Tony Han <tony.han@microchip.com>
2026-03-10 09:38:25 +01:00
Roy Jamil
ac46da5d59 boards: st: stm32u5g9j_dk2: add stlink_gdbserver runner
Add stlink_gdbserver support in board.cmake.

Signed-off-by: Roy Jamil <roy.jamil@ac6.fr>
2026-03-10 09:38:02 +01:00
Roy Jamil
1649f725f2 boards: st: nucleo_h563zi: add stlink_gdbserver runner
Add support for stlink_gdbserver debugging in board.cmake.

Signed-off-by: Roy Jamil <roy.jamil@ac6.fr>
2026-03-10 09:37:38 +01:00
Albort Xue
864269e27c drivers: flash: mcux_flexspi_nor: use IP read path
When IPED encryption is enabled, AHB-mapped reads can hang.

Switch flash_flexspi_nor_read() to use FlexSPI IP read
transactions and handle unaligned requests with aligned
chunk reads plus memcpy to the caller buffer.

This removes the SoC-specific workaround and avoids
hangs in encrypted regions.

Signed-off-by: Albort Xue <yao.xue@nxp.com>
2026-03-10 09:35:59 +01:00
Pete Johanson
d3dbe45ccb drivers: spi: Fix for SPI register access on MAX32
Add the additional required busy wait needed when accesseng SPI registers
during setup of a new SPI transaction.

Signed-off-by: Pete Johanson <pete.johanson@analog.com>
2026-03-10 09:35:21 +01:00
Sreeram Tatapudi
c16a22664d boards: infineon: kit_pse84_eval: fix Kconfig.defconfig filename case
Rename kconfig.defconfig to Kconfig.defconfig to match the
expected Kconfig naming convention.

Signed-off-by: Sreeram Tatapudi <sreeram.praveen@infineon.com>
2026-03-10 09:34:13 +01:00
Nhut Nguyen
8bc06fa264 tests: drivers: gpio: Enable gpio tests for RZ/N2H
Enable gpio test for Renesas RZ/N2H

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-03-10 09:33:25 +01:00
Nhut Nguyen
5eb9d75dcc drivers: gpio: renesas: Add support for RZ/T2H, N2H
Update GPIO driver to support Renesas RZ/T2H, N2H

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-03-10 09:33:25 +01:00
Nhut Nguyen
ddef67d4ae drivers: serial: renesas: Add support for RZ/T2H, N2H
Update serial driver to support Renesas RZ/T2H, N2H

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-03-10 09:33:25 +01:00
Nhut Nguyen
e7093b66e0 drivers: intc: renesas: Add support for RZ/T2H, N2H
Add interrupt controller driver support for Renesas RZ/T2H, N2H

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-03-10 09:33:25 +01:00
Nhut Nguyen
3f80b8c75a drivers: pinctrl: Add support for Renesas RZ/N2H
Add more ports and update function field to 8 bits to support Renesas
RZ/N2H

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-03-10 09:33:25 +01:00
Nhut Nguyen
3d214e4b24 boards: renesas: Add minimal support for Renesas RZ/N2H
Add minimal support for board Renesas RZ/N2H

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-03-10 09:33:25 +01:00
Nhut Nguyen
e4c7943bcf dts: arm: renesas: Add support for Renesas RZ/N2H
Add devicetree to support for Renesas RZ/N2H

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-03-10 09:33:25 +01:00
Nhut Nguyen
21cc27e488 soc: renesas: Add support for Renesas RZ/N2H
Add support for Renesas RZ/N2H

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-03-10 09:33:25 +01:00
Nhut Nguyen
08c44759c2 manifest: Update commit id for hal_renesas
Update commit id for hal_renesas

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-03-10 09:33:25 +01:00
Pieter De Gendt
1f14d0f587 tests: net: lib: coap: client: Add tests for multicast support
Update the test suite for CoAP clients supporting multicast streaming.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-03-10 09:32:24 +01:00
Pieter De Gendt
e7fae7a37e net: lib: coap: client: Add multicast support
Allow sending a CoAP GET request to a multicast address and receive
multiple responses.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-03-10 09:32:24 +01:00
Pieter De Gendt
fe6c5e25cd net: lib: coap: client: Add const qualifier to helper functions
Make arguments that are not modified in the helper function const.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-03-10 09:32:24 +01:00
Tim Pambor
525554266a logging: Fix logging in PRE_KERNEL with thread id prefix
Logging a message in PRE_KERNEL with CONFIG_LOG_THREAD_ID_PREFIX=y
triggers a assert in k_current_get() because the current thread is not
yet available.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-03-10 09:30:55 +01:00
Tony Han
15000e2033 samples: drivers: crypto: add support for sama7g54 AES
Allow sama7g54 SoCs to run AES sample.
Update sample.yaml file.

Signed-off-by: Tony Han <tony.han@microchip.com>
2026-03-10 09:30:02 +01:00
Tony Han
6dca1ba76d tests: crypto: aes: update to support testing Microchip AES
Update to support testing crypto_aes on sama7g54_ek board.

Signed-off-by: Tony Han <tony.han@microchip.com>
2026-03-10 09:30:02 +01:00
Tony Han
54723148df boards: microchip: sam: enable AES in sama7g54-ek dts
Enable the AES node in sama7g54_ek.dts file.

Signed-off-by: Tony Han <tony.han@microchip.com>
2026-03-10 09:30:02 +01:00
Tony Han
d747277488 drivers: crypto: aes: add driver for Microchip AES
Add driver for Microchip Advanced Encryption Standard (AES), update
Kconfig and make files.

Signed-off-by: Tony Han <tony.han@microchip.com>
2026-03-10 09:30:02 +01:00
Tony Han
28e83dd714 soc: microchip: sam: update MMU for sama7g5 AES
When AES is activated in the DT, configure it's register region with
strong ordered, read and write access.

Signed-off-by: Tony Han <tony.han@microchip.com>
2026-03-10 09:30:02 +01:00
Tony Han
34fd20a279 dts: arm: microchip: sama7g5: add the node for AES
Add the Advanced Encryption Standard (AES) node to sama7g5.dtsi file.

Signed-off-by: Tony Han <tony.han@microchip.com>
2026-03-10 09:30:02 +01:00
Tony Han
969894dae4 dts: bindings: crypto: add microchip,aes-g1-crypto.yaml
Add microchip,aes-g1-crypto.yaml for Advanced Encryption Standard (AES)
controller.

Signed-off-by: Tony Han <tony.han@microchip.com>
2026-03-10 09:30:02 +01:00
Anas Nashif
b84319c460 kernel: drop deprecated options SCHED_DUMB and WAITQ_DUMB
Those kconfig options were deprecated in 4.2. Now they are removed.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2026-03-09 15:09:04 -05:00
Thien Nguyen
7b89e999e4 samples: net: ptp: Fix ptp4l syntax
Fix the syntax for ptp4l command line.

Signed-off-by: Thien Nguyen <nguyenmthien@live.com>
2026-03-09 15:08:19 -05:00
Yves Wang
ded6209917 doc: boards: nxp: add frdm_mcxe31b lcd_par_s035 note
Document lcd_par_s035 usage in the frdm_mcxe31b board page

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2026-03-09 15:07:49 -05:00
Yves Wang
8ff4b9733b boards: nxp: frdm_mcxe31b: support lcd_par_s035 8080
Add shield lcd_par_s035 16 bit 8080 support for frdm_mcxe31b

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2026-03-09 15:07:49 -05:00
Yves Wang
29d0519feb drivers: mipi_dbi: nxp_flexio_lcdif: support EDMA on MCXE31
Use EDMA instead of DMA0 when CONFIG_SOC_SERIES_MCXE31X is set.
This matches the MCXE31 HAL instance for EDMA_SetModulo().

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2026-03-09 15:07:49 -05:00
Yves Wang
91e6751ca2 drivers: clock_control: nxp_mc_cgm: provide FlexIO clock rate
Return core clock for MCUX_FLEXIO_CLK in get_rate.
This lets nxp_flexio_get_rate() configure FlexIO LCDIF.

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2026-03-09 15:07:49 -05:00
Sebastian Głąb
c691c22cdc tests: drivers: watchdog: Define watchdog0 node in wdt_basic_api test
testcase.yaml filters out platforms that don't have status okay
on node with label watchdog0.

Add label required to run the test.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2026-03-09 15:07:05 -05:00