Commit graph

126,787 commits

Author SHA1 Message Date
Andrew Featherstone
b7217a061f dts: bindings: timer: rp2350: Add machine timer for RP2350
The RP2350's Hazard3 (RISC-V) cores use the mtime-based RISC-V timer.

Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
2025-09-29 12:30:28 -04:00
Andrew Featherstone
5df091b7b1 dts: rp2350: Add DTSI for using two Hazard3 cores
Add a DTS fragment to support defining a RP2350 series SoC with two
Hazard3 cores in use.

Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
2025-09-29 12:30:28 -04:00
Andrew Featherstone
cb1e51b4df soc: rp2350: Add initial support for the Hazard3 cores
The RP2350 SoC series contain two Hazard3 cores, which use the RISC-V
instruction set. Define a new CPU cluster (`hazard3`), which is intended
to be used with the two Hazard3 cores 'plugged in' to the two 'sockets'
in the RP2350 series SoCs.

Update the linker script to support linking against the correct
(ISA-specific) linker script, and to generate a correct IMAGE_DEF for
the target ISA.

Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
2025-09-29 12:30:28 -04:00
Andrew Featherstone
67f2e49ce3 drivers: counter: rpi_pico: Remove redundant CMSIS include
This header file isn't required, and prevents the driver building for
the RISC-V based Hazard3 cores.

Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
2025-09-29 12:30:28 -04:00
Andrew Featherstone
80a54a89cd drivers: intc: RP2350: Add initial support for Hazard3
The RP2350 uses the Xh3irq interrupt controller, which supports nested
and prioritised interrupts. This adds initial support, configuring the
controller in 'direct' (non-vectored) mode.

Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
2025-09-29 12:30:28 -04:00
Andrew Featherstone
d88193cba9 drivers: clock_control: rpi_pico: Start all the tick generators
There's no benefit to starting a subset of them, and this ensure that
everything is ready, regarless of RP2040 vs RP235xx, and whether the
Cortex-M33 or Hazard3 cores are in use in the latter case.

Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
2025-09-29 12:30:28 -04:00
Andrew Featherstone
984618e11a dts: rp2350: Move RP2350A and RP2350B DTS fragments to vendor/raspberrypi
These .dtsi files are common regardless of which permutation of cores
are in the two CPU 'sockets'.

Take the opportunity to make the includes paths to rp2350a.dtsi relative
to the current file to emphasise their relationship.

This is foundation work ahead of adding support for the Hazard3 cores.

Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
2025-09-29 12:30:28 -04:00
Andrew Featherstone
23419dcbad modules: hal_rpi_pico: Correct comment in config_autogen.h
This comment was incorrect after changes in c9a7ba2f06 removed one of
the definitions. Correct the comment to avoid confusion in subsequent
changes.

Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
2025-09-29 12:30:28 -04:00
Etienne Carriere
569a4ab8a7 tests: drivers: memc: correct buffer size to support smaller memories
Correct the buffer size to be adapted to the target memory device
not enforcing a 512kB test on SRAMs/SDRAMs when a PSRAM is also tested.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2025-09-29 12:28:24 -04:00
Jeremy Dick
06daf0e29e dts: arm: renesas: ra: Remove unneeded container nodes for OFS registers
The OFS container node is not necessary, just put all the child nodes
in the soc node

Signed-off-by: Jeremy Dick <jdick@pivotint.com>
2025-09-29 09:58:32 +02:00
Stefan Kraus
d380d430ea drivers: led_strip: ws2812_gpio: prevent overflow
In case one defines an RGB led that is bigger than the led_rgb struct,
ws2812_gpio_update_rgb would overflow the buffer it writes to while
iterating. This could lead to crashes, as the code would also support
GRBW (as supposed in one comment).

As a 'proper' fix would require another buffer and therefore more
memory, I added a BUILD_ASSERT to ensure it does not compile.

Signed-off-by: Stefan Kraus <dev@stefankraus.org>
2025-09-29 09:58:19 +02:00
Stefan Kraus
73eb7bb18a drivers: led_strip: ws2812_gpio: fix overwriting in loop
Due to the alias of ptr on pixels, one iterates over the same area
one reads from to set values. Therefore, if the strip is not 'RGB' but
GBR, one would overwrite the pixels 'r' value with the 'g' value in the
first loop, leading to a wrong read afterwards.

By writing to a temporary variable, we have a clean, unmodified copy
of the original values.

Additionally, this removes the dependency on 'LED_STRIP_RGB_SCRATCH',
as the scratch part (that masked most error cases) is not necessary
anymore.

Signed-off-by: Stefan Kraus <dev@stefankraus.org>
2025-09-29 09:58:19 +02:00
Robert Lubos
22eb051710 tests: net: socket: udp: Add test cases for IPv4-to-IPv6 mapped socket
Add test cases verifying that IPv4-to-IPv6 mapped socket sets the
address structure correctly when receiving data from IPv4 peer, and that
sending back data to the IPv4-to-IPv6 mapped address works correctly.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-09-29 09:58:06 +02:00
Robert Lubos
e27f8ccf91 net: context: Fix IPv4-to-IPv6 mapped sendto()
Commit 48897a9090 fixed the address
mapping for dual-stack sockets when sendmsg() was used, however the same
similar issue appears (cannot check for AF_INET family for mapped
addresses as those are AF_INET6) for regular sendto() calls.

Therefore, for the sendto() case, where dst_addr is specified, check if
the address is mapped with net_ipv6_addr_is_v4_mapped() function as
well.

This also fixes another bug in sendmsg() case, where msghdr->msg_name
could've been dereferenced even if it was NULL (for example in case
of a connected socket).

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-09-29 09:58:06 +02:00
Bjarki Arge Andreasen
91c8c07179 dts: arm: nrf54h20_cpurad: disable unsuppported s2ram state
The s2ram power state is a "suspend-to-ram" state which is not
supported by the radio core, so delete it from the overlay.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-09-29 09:57:58 +02:00
Allen Zhang
45035bef67 soc: mcxw7xx: Fixed the wrong path of sections.ld
After creating mcxw7xx subfolder in mcxw, the path to sections.ld
needs to be updated.

Signed-off-by: Allen Zhang <chunfeng.zhang@nxp.com>
2025-09-29 09:57:44 +02:00
Cristian Bulacu
0af6622c97 doc: frdm_mcxw72: Update documentation
Updated documentation for compiling Openthread application

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2025-09-29 09:57:44 +02:00
Cristian Bulacu
3579d1cae9 samples: net: socket: echo_server: Restore generic openthread sample
Since multiple platforms than nrf are allowed to run this sample,
re-add generic openthread name for sample.

Initially, generic naming has been performed in #83195,
and then, a revert occurred in #87269

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2025-09-29 09:57:44 +02:00
Cristian Bulacu
2ec1fa0fb8 boards: nxp: Update yaml files for frdm_mcxw boards
Upated supported features list  to allow twister build for
echo_server/client with OpenThread sample

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2025-09-29 09:57:44 +02:00
Sylvio Alves
3b458043d8 samples: openthread: fix kconfig build warning
Fix Kconfig warnings by dropping NET_L2_IEEE802154_SHELL from the
OpenThread sample. This option depends on CONFIG_NET_L2_IEEE802154,
which is not selected in the sample, causing unmet dependency warnings.

Removing it lets the sample build cleanly without extra config noise.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-09-29 05:51:08 +02:00
Sylvio Alves
49355813d3 drivers: entropy: espressif: enable TRNG in driver, not clock init
Move the TRNG peripheral enable from the clock/SoC init path to the
Espressif entropy driver init.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-09-29 05:50:56 +02:00
Sylvio Alves
df0a88994d dtsi: espressif: add RNG peripheral clock reference
Adds default clock module reference for Espressif SoCs.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-09-29 05:50:56 +02:00
Make Shi
2b622a14e3 Bluetooth: Classic: AVRCP : Enable AVRCP features in shell test config
This patch enables AVRCP-related configuration options in the shell
test project. These options are required to test AVRCP functionality
in Bluetooth Classic shell environment.

Signed-off-by: Make Shi <make.shi@nxp.com>
2025-09-29 05:50:47 +02:00
Sherry Li
d90d71c42c drivers: smbus: stm32: implement smbus_block_read
Smbus implementation for stm32 lacks of smbus_block_read(), so add the
functionality.

Fix some indentations.

Signed-off-by: Andrew Lewycky <alewycky@tenstorrent.com>
Signed-off-by: Sherry Li <xiaoruli@tenstorrent.com>
2025-09-28 14:14:35 -04:00
Marcin Niestroj
7fc8051b0f drivers: wifi: esp_at: return WIFI_STATUS_* connect error codes
Return `enum wifi_conn_status` after failed connection attempt. Parse
`+CWJAP:` messages to get failure reason.

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2025-09-27 14:00:09 -04:00
Pisit Sawangvonganan
601f2fde6e drivers: serial: pl011: reduce device's base address accesses
In several functions, the UART registers are accessed multiple times
through the `get_uart(dev)` inline function. This results in repeated
dereferencing of the device's base address.

This commit caches the UART register struct pointer in a local variable
`uart` at the beginning of each relevant function.

For registers where repeated access is not needed, the value is read once
into a temporary variable. Modifications, if any, are applied to
the temporary copy, and the result is written back once.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2025-09-27 13:59:43 -04:00
Anas Nashif
19dc74bc66 maintainers: add 2 missing files into the doc area
add python requirement files into the doc area.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-09-27 13:59:22 -04:00
Anas Nashif
7ca097164b maintainers: Group all boards/socs into one area
Many boards and SoCs do not belong in any area, group them to correctly
tag PRs and to allow for future sub-grouping.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-09-27 13:59:22 -04:00
Anas Nashif
bd1ef01231 maintainers: add an area for dts bindings
Add an area to cover all bindings, at least to correctly label the PRs.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-09-27 13:59:22 -04:00
Anas Nashif
933490cb9a maintainers: add a global area for tests
Cover all tests in the tree to avoid missing anything that is not
covered by a specific area.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-09-27 13:59:22 -04:00
Anas Nashif
c0c235344d maintainers: add missing files to build system area
Add missing files to corrosponding area.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-09-27 13:59:22 -04:00
Anas Nashif
62a96a58e7 maintainers: add missing files to soc/board config area
Add missing files to corrosponding area

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-09-27 13:59:22 -04:00
Anas Nashif
abc7bb320d maintainers: split security/safety into own areas
Move safety and security related files into own areas.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-09-27 13:59:22 -04:00
Anas Nashif
f2d8523c74 maintainers: move linters and SCA tooling into own area
Consolidate all linters and SCA tooling into one area and separate from
the coding/style guideline documentation.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-09-27 13:59:22 -04:00
Johann Fischer
4fe2c5bd5f drivers: udc: allow to use timeout Kconfig option on nRF54LM20A SoC
Kconfig option UDC_DWC2_USBHS_VBUS_READY_TIMEOUT depends on services
exclusively available for nRF54H20, but the option can also be used for
nRF54LM20A, where there are no service dependencies, and VREG can be
accessed by the driver directly. Let depend the option on the SOC
series, as the controller can be used by the different CPUs on the SOC.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2025-09-26 20:48:32 -04:00
Johann Fischer
0018e8d600 drivers: udc: cleanup depends in Kconfig.dwc2
Factor out UDC_DWC2 dependency.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2025-09-26 20:48:32 -04:00
Benjamin Cabé
c51de9aa84 MAINTAINERS: remove warp5tw
warp5tw has never participated in any Github activity in the
zephyrproject-rtos organization

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-26 20:48:14 -04:00
Benjamin Cabé
af8d91b5c6 MAINTAINERS: remove vanti
vanti hasn't reviewed any PRs or engaged in any Zephyr
activity since Feb 2021.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-26 20:48:14 -04:00
Benjamin Cabé
2b867e7e57 MAINTAINERS: remove teikheng
teikheng hasn't reviewed any PRs or engaged in any Zephyr
activity since July 2022.

Recent activities:

- pr: enhance uart ns16550 driver to get clock frequency from clock
  manager
  https://github.com/zephyrproject-rtos/zephyr/pull/47199
  (2022-07-02T17:31:54Z)
- pr: enhance uart ns16550 driver to get clock frequency from clock
  manager
  https://github.com/zephyrproject-rtos/zephyr/pull/47167
  (2022-07-01T15:23:39Z)

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-26 20:48:14 -04:00
Benjamin Cabé
ebf76c903d MAINTAINERS: remove sjg20
sjg20 hasn't reviewed any PRs or engaged in any Zephyr
activity since Aug 2023.

Recent activities:

- review: Review on 'fuel_gauge: Add battery cutoff support'
  https://github.com/zephyrproject-rtos/zephyr/pull/61435
  (2023-08-16T20:23:21Z)
- review: Review on 'emul: Only add enabled DT nodes to bus emulators'
  https://github.com/zephyrproject-rtos/zephyr/pull/60263
  (2023-07-11T19:59:15Z)
- review: Review on 'drivers/crypto/it8xxx2: add support for SHA256
  hardware accelerator'
  https://github.com/zephyrproject-rtos/zephyr/pull/55899
  (2023-07-06T15:59:35Z)

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-26 20:48:14 -04:00
Benjamin Cabé
81ba91d959 MAINTAINERS: remove sir-branch
sir-branch hasn't reviewed any PRs or engaged in any Zephyr
activity since July 2022.

Recent activities:

- issue: JSON parses uses recursion (breaks rule 17.2)
  https://github.com/zephyrproject-rtos/zephyr/issues/48102
  (2022-07-21T08:41:09Z)
- review: Review on 'json: Skip unknown fields on parsing'
  https://github.com/zephyrproject-rtos/zephyr/pull/47989
  (2022-07-21T05:22:37Z)
- pr: net: sockets_tls: Reset mbedtls session on handshake errors
  https://github.com/zephyrproject-rtos/zephyr/pull/41527
  (2022-01-01T23:17:25Z)

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-26 20:48:14 -04:00
Benjamin Cabé
7db3fb176a MAINTAINERS: remove ghu0510
ghu0510 hasn't reviewed any PRs or engaged in any Zephyr
activity since June 2023.

Recent activities:

- commit: b9b714c8bd
- pr: ghu sensing upstream pr3
  https://github.com/zephyrproject-rtos/zephyr/pull/59469
  (2023-06-21T09:03:35Z)
- pr: sensing subsystem update
  https://github.com/zephyrproject-rtos/zephyr/pull/59468
  (2023-06-21T08:56:20Z)

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-26 20:48:14 -04:00
Benjamin Cabé
4aba50d2d8 MAINTAINERS: remove adakus
adakus hasn't reviewed any PRs or engaged in any Zephyr
activity since Jan 2023.

Recent activities:

  - review: Review on '[osdp_fixes 3/5] More CP and PD state management
    cleanups'
    https://github.com/zephyrproject-rtos/zephyr/pull/54197
    (2023-01-30T13:53:10Z)
  - review: Review on 'samples: mgmt/osdp: Select ENTROPY_GENERATOR from
    prj.conf'
    https://github.com/zephyrproject-rtos/zephyr/pull/53772
    (2023-01-27T10:15:17Z)
  - review: Review on '[osdp_fixes 2/5] Various PD cleanups,
    enhancements and fixes'
    https://github.com/zephyrproject-rtos/zephyr/pull/53763
    (2023-01-17T12:11:35Z

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-26 20:48:14 -04:00
Benjamin Cabé
c78361ee6c MAINTAINERS: remove jackrosenthal
jackrosenthal hasn't reviewed any PRs or engaged in any Zephyr
activity since Aug 2023.

Recent activities:
  - pr: scripts: zephyr_module: Tolerate symlinks
    https://github.com/zephyrproject-rtos/zephyr/pull/61352
    (2023-08-09T22:27:50Z)
  - commit: f959309fd0

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-26 20:48:14 -04:00
Benjamin Cabé
86265ea637 MAINTAINERS: remove mnkp
mnkp hasn't reviewed any PRs or engaged in any Zephyr
activity since March 2023.

Recent activities:
  - pr: MAINTAINERS: remove inactive self as GPIO maintainer
    https://github.com/zephyrproject-rtos/zephyr/pull/56167 (2023-03-23T20:40:59Z)
  - commit: 245b9c666e

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-26 20:48:14 -04:00
Benjamin Cabé
4426598396 MAINTAINERS: remove juimonen
juimonen hasn't reviewed any PRs or engaged in any Zephyr
activity since July 2023.

Recent activities:
  - review: Review on 'drivers: dai: doc: Cleanup Doxygen documentation'
    https://github.com/zephyrproject-rtos/zephyr/pull/60514
    (2023-07-18T11:01:00Z)
  - review: Review on 'intel_adsp: dmic: Refactoring of blob parsing
    function'
    https://github.com/zephyrproject-rtos/zephyr/pull/60172
    (2023-07-18T10:35:52Z)
  - review: Review on 'drivers: intel: ssp: delay initialization after
    dma'
    https://github.com/zephyrproject-rtos/zephyr/pull/60304
    (2023-07-18T10:01:58Z)

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-26 20:48:14 -04:00
Benjamin Cabé
4e360ca776 MAINTAINERS: remove jc849
jc849 has never made any form of contributions to the Zephyr project so
drop from MAINTAINERS.yml file.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-26 20:48:14 -04:00
Benjamin Cabé
4b5c30e2cf MAINTAINERS: remove brgl
brgl hasn't reviewed any PRs or engaged in any Zephyr
activity since Jan 2023.

Recent activities:
  - commit: 2d59430fc0
  - pr: maintainers: change lvgl status to "odd fixes"
    https://github.com/zephyrproject-rtos/zephyr/pull/53413
    (2023-01-02T07:58:09Z)

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-26 20:48:14 -04:00
Benjamin Cabé
755528d295 MAINTAINERS: remove bbolen
bbolem hasn't reviewed any PRs or engaged in any Zephyr
activity since June 2023.

Recent activities:
  - pr: DNM: Cortex r5 bug
    https://github.com/zephyrproject-rtos/zephyr/pull/59401
    (2023-06-19T19:41:16Z)
  - review: Review on 'arch: arm: limit FP16 support to Cortex-A or
    Cortex-R'
    https://github.com/zephyrproject-rtos/zephyr/pull/55101
    (2023-02-23T02:44:44Z)
  - review: Review on 'tests: arm: Increase main stack size with no
    optimizations'
    https://github.com/zephyrproject-rtos/zephyr/pull/48776 (2022-08-08T14:43:47Z)

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-26 20:48:14 -04:00
Benjamin Cabé
86ba56fc70 MAINTAINERS: remove Mani-Sadhasivam
Mani-Sadhasivam hasn't reviewed any PRs or engaged in any Zephyr
activity since September 2023.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-26 20:48:14 -04:00