Commit graph

126,787 commits

Author SHA1 Message Date
Cristian Bulacu
7a41ed320b net: ipv6_nbr: Handle lifetime from RDNSS message
When an IPV6 message that contains an RDNSS ICMPV6 option with a lifetime
equal to 0 is received, proceed to delete the indicated recursive DNS
servers listed in that option.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2025-10-10 12:55:46 -04:00
Cristian Bulacu
975635fc17 net: dns_resolve: Remove DNS server by specified address
This commit implements removal of a DNS server by specifing an IP
address.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2025-10-10 12:55:46 -04:00
Måns Ansgariusson
ebe128e61f subsys/tracing: Remove retired k_pipe references in SYSVIEW config
Due to the k_pipe rework, references to k_pipe in the SYSVIEW configuration
are now obsolete. This commit removes these references.

Signed-off-by: Måns Ansgariusson <Mansgariusson@gmail.com>
2025-10-10 12:55:37 -04:00
Måns Ansgariusson
a5b2d58812 tests/kernel/mem_protect: Fix comment referencing old k_pipe api
The comment was referencing the old k_pipe api which has since been
retired. Updated the comment to reflect the current k_pipe api.

Signed-off-by: Måns Ansgariusson <Mansgariusson@gmail.com>
2025-10-10 12:55:37 -04:00
Måns Ansgariusson
6563445446 doc: Removing references to retired k_pipe api.
The k_pipe_get and k_pipe_put APIs have been retired in Zephyr 4.2, this
commit removes references to these APIs in the documentation that was
missed in the original rework of thhe k_pipe API.

Signed-off-by: Måns Ansgariusson <Mansgariusson@gmail.com>
2025-10-10 12:55:37 -04:00
Emil Gydesen
d4afa1989f Bluetooth: Host: Change WRN->DBG for not connect for TX
The bt_conn_tx_processor logged connections not in the
connected state as LOG_WRN, but this is a case that is handled
and could occur during regular behavior.
For this reason the log statement was changed to LOG_DBG,
as the developer/user does not need to worry about it.
Also modifies the statement to log the conn->state for
debugging purposes.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-10-10 12:55:28 -04:00
Tahsin Mutlugun
97a3e9f21e Revert "tests: subsys: pm: Use WUT as idle timer for MAX32655 boards"
This reverts commit 41339e2dd4.

Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
2025-10-10 12:55:15 -04:00
Kevin Gillespie
85c06345bf soc: adi: max32: Standby lock on boot.
Add standby lock to prevent debug lockout on boot
when using power management.

Signed-off-by: Kevin Gillespie <Kevin.Gillespie@analog.com>
2025-10-10 12:55:15 -04:00
Kevin Gillespie
d24ab25d6d soc: adi: max32: Remove standby restore delay.
Remove delay when coming out of standby mode.

Signed-off-by: Kevin Gillespie <Kevin.Gillespie@analog.com>
2025-10-10 12:55:15 -04:00
Kevin Gillespie
5d11e40729 soc: adi: sleep in idle mode.
Use sleep mode instead of Low Power Mode (LPM). LPM is
similar to deep sleep, not intended to be used for general
idle.

Signed-off-by: Kevin Gillespie <Kevin.Gillespie@analog.com>
2025-10-10 12:55:15 -04:00
Łukasz Stępnicki
6571f4e1bc kernel: work: work timeout handler uninitialized variables fix
work and handler pointers are local and not initialized.
Initialize them with NULL to avoid compiler error maybe-uninitialized.

Signed-off-by: Łukasz Stępnicki <lukasz.stepnicki@nordicsemi.no>
2025-10-10 12:55:06 -04:00
Tim Pambor
cbb9889e17 MAINTAINERS: Add tpambor as collaborator
Add tpambor as collaborator to Native_sim and POSIX arch area.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2025-10-10 12:54:54 -04:00
Pieter De Gendt
557489e1ec doc: releases: migration: 4.3: Add shell_set_bypass update
Add an entry for the shell API change for shell_set_bypass.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-10-10 12:53:55 -04:00
Pieter De Gendt
4fa4329a16 shell: Add user data argument to shell_set_bypass
Allow passing some context to the shell bypass callback function by
providing a void pointer user data argument.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-10-10 12:53:55 -04:00
Sebastian Głąb
3d56c2f8f8 tests: boards: nrf: coresight_stm: Align test to STM driver
There were recent changes to nrf54h20dk and STM driver.
Align test accordingly:
- add Kconfig that boots Radio core,
- update expected timing results.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-10-10 12:53:40 -04:00
Phi Bang Nguyen
c1a27a1038 doc: release-note-4.3: Add video format estimation helper
Mention a new video_estimate_fmt_size helper.

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
2025-10-10 12:53:28 -04:00
Phi Bang Nguyen
9c9e23d091 doc: migration-guide-4.3: Mention some changes in video structures
Mention some dropped fields in the video_caps structure and the buffer
allocation size for application.

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
2025-10-10 12:53:28 -04:00
Phi Bang Nguyen
517e13cae5 drivers: video: st_mipid02: Drop caps' min_vbuf_count
The mipid02 is just a bridge driver which does not deal with memory so
should not expose caps' min_vbuf_count.

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
2025-10-10 12:53:28 -04:00
Phi Bang Nguyen
ade4e05969 drivers: video: Set format size
Receiver drivers now need to set the format's size to expose it to
the application.

Application should base on the format size to allocate buffers. The
caps' min/max_line_count (which are needed only for HWs that cannot
support the whole image frame) can hence be dropped.

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
2025-10-10 12:53:28 -04:00
Phi Bang Nguyen
21fec46971 drivers: video: Add helper to estimate format size
Add a helper to estimate format size and pitch.

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
2025-10-10 12:53:28 -04:00
Benjamin Cabé
c07d182466 scripts: ci: do_not_merge.py: labels starting with 'block:' mean DNM
When checking for "do not merge" labels on a pull request, also consider
any label that starts with "block:" as a DNM label (e.g "block: HW
Test").

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-10-10 12:53:14 -04:00
James Growden
86ebdf8e32 scripts: Use different module IDs per runner module
If we have multiple runners listed under a module,
Each runner py file will individually overload and overwrite the
prior module loaded, because it is using the same module name.

Signed-off-by: James Growden <jgrowden@tenstorrent.com>
2025-10-10 12:52:56 -04:00
Tahsin Mutlugun
6b45182d6d drivers: i2c_rtio: max32: Fix variable naming in initialization macros
Fixes incorrect usage of n instead of _num as the instance identifier
in several lines of the driver initialization macros. This mismatch
caused build errors when multiple I2C instances were enabled, due to
redefinition of the same variable.

Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
2025-10-10 12:52:46 -04:00
Benjamin Cabé
67206130a6 doc: hardware: fix cache/guide.rst appearing in two different toctrees
The "Caching Basics" page is already included in the toctree of
cache/index.rst, so it should not be included again at this level.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-10-10 12:52:23 -04:00
Titouan Christophe
1d1bf21538 audio: midi: do not cast into unsigned long in UMP_* macros
In commit 5e83d222b6, all bit masking
operations in audio/midi.h were modified to use BIT_MASK(n) instead of
literal hexadecimal constants. However, masking a number with a BIT_MASK
promotes it to an unsigned long (while UMPs are packets of uint32_t aka
unsigned on most platforms). This results in annoying warnings from LOG_*
calls, such as:

    warning: format '%lX' expects argument of type 'long unsigned int',
    but argument 4 has type 'uint32_t' {aka 'unsigned int'}

There is no point in making these long integers, so let's revert the
bit masks as they were before, with literal hexadecimal values.

Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>
2025-10-10 12:52:11 -04:00
Benjamin Cabé
169cf86969 include: doc: fix bad @endcond markers
Anything appearing after the @endcond tag is, well, not part of the
conditional block anymore. This fixes "INTERNAL_HIDDEN" text appearing
at odd polaces in the generated documentation.

Fixes zephyrproject-rtos/zephyr#94862

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-10-09 20:36:28 -04:00
Muhammad Waleed Badar
c2384c5a5d wifi: esp32: simplify DHCP4 auto-negotiation Kconfig
Remove redundant NET_DHCPV4 dependency and add default
behavior.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2025-10-09 20:35:58 -04:00
Camille BAUD
6430ad458c drivers: serial: increase FIFO threshold for BFLB uart driver
Increases the fifo threshold for tx, should increase speed a bit.

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-10-09 20:35:34 -04:00
Camille BAUD
b20d3432e3 drivers: serial: Improve BFLB UART driver: add runtime configuration
This adds the ability to do runtime configuration of the BFLB
UART driver.

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-10-09 20:35:34 -04:00
Camille BAUD
a7bf03cec5 drivers: serial: Add De-init to bflb uart driver
Allows BFLB uart peripheral to de-init.

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-10-09 20:35:34 -04:00
Declan Snyder
317ae1caea Revert "soc: RT700 add custom MPU regions for non-cache memory"
This reverts commit 4a6a969bbe.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-10-09 20:35:07 -04:00
Erwan Gouriou
5c8380d32a samples: video: tcpserversink: Add stm32n6570_dk as integration platform
Required to build VIDEO_STM32_VENC.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
2025-10-09 22:56:37 +03:00
Hugues Fruchet
adb6e2968b dts: arm: st: n6: add venc node
Add node describing the venc in stm32n6.dtsi

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
2025-10-09 22:56:37 +03:00
Hugues Fruchet
fd1115d88f drivers: video: introduction of the stm32 venc driver
The STM32 video encoder (VENC) peripheral is a hardware
accelerator allowing to compress RGB/YUV frames into
H264 video bitstream chunks.

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
2025-10-09 22:56:37 +03:00
Hugues Fruchet
53bcf31ea9 dts-bindings: video: addition of stm32 venc description
Addition of description for the STM32 Video encoder (VENC).

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
2025-10-09 22:56:37 +03:00
Hugues Fruchet
a2baa09116 doc: release-note-4.3: document size field added to video_format struct
Document introduction of the new size field inside video_format struct
as visible on the <zephyr/drivers/video.h> header.

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
2025-10-09 22:56:37 +03:00
Hugues Fruchet
b69e1d550a include: video: add size field to video_format structure
Add size field to the video_format structure which needs to be set by the
driver and exposed to the application.

For uncompressed formats, this is the size of the raw data buffer in
bytes, which could be the whole raw image or a portion of the raw image
in cases the receiver / dma supports it.

For compressed formats, this is the estimated maximum number of bytes
required to hold a complete compressed frame.

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
2025-10-09 22:56:37 +03:00
Mohammad Massoudi
09ed77fe89 include: driver: video: add h264 pixel format support
Add H264 pixel format support.

Signed-off-by: Mohammad Massoudi <m.massoudi32@gmail.com>
2025-10-09 22:56:37 +03:00
Hao Zhang
1f1ea10c21 samples: tfm_regression_test: Add MAX32657EVKIT regression tests
Add MAX32657 under tfm regression test case.

There is only one uart interface that used by NS side, so that secure
tests are disabled.

Co-authored-by: Sadik Ozer <sadik.ozer@analog.com>
Signed-off-by: Hao Zhang <Hao.Zhang@analog.com>
2025-10-09 22:56:21 +03:00
Torsten Rasmussen
428279ef41 cmake: define linker argument for undefined symbol
Specifying undefined symbol on linker invocation requests the linker to
search and include the symbol.
This ensures the symbol will be present in final output.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2025-10-09 22:56:09 +03:00
Bjarki Arge Andreasen
d54d0849e1 samples: basic: minimal: add no-sw-isr-table option
Add option to build without software isr table for platforms which
support it (ARM and RISCV). The software ISR table takes up
kilobytes of RAM and introduces latency, and it is not needed if
CONFIG_MULTITHREADING=n.

The initially supported nrf54l15 and nrf54lm20 boards additionally
need CONFIG_CLOCK_CONTROL=n for the minimal sample so board configs
have been added for them. Note that the entry in sample.yaml uses
EXTRA_CONF_FILE to not overwrite the board specific CONF_FILE.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-10-09 22:56:09 +03:00
Bjarki Arge Andreasen
1f294febf2 drivers: serial: nrfx_uarte: Default DIRECT_ISR if MULTITHREADING=n
Default to using DIRECT_ISR if nothreading. This allows the SW ISR
table to be excluded if nothreading.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-10-09 22:56:09 +03:00
Robin-Charles Guihéneuf
ad46777f65 tests: lib: json: Add test case test for encoded_obj array
Add specific test for array generation containing JSON_TOK_ENCODED_OBJ.

Signed-off-by: Robin-Charles Guihéneuf <robin-charles@hotmail.fr>
2025-10-09 22:55:58 +03:00
Robin-Charles Guihéneuf
e4bd3cffd4 lib: utils: json: Fix encoded_obj element size
The size of the JSON_TOK_ENCODED_OBJ type was not defined, which
caused errors when generating an array.

Signed-off-by: Robin-Charles Guihéneuf <robin-charles@hotmail.fr>
2025-10-09 22:55:58 +03:00
Tom Chang
298ebb7aa7 drivers: espi: npcx: add espi taf support for npck3
This commit adds eSPI TAF support for npck3, including initialization
settings for flash operation mode. It also updates the mechanism to
release FLASH_NP_FREE, preventing a possible race condition between
automatic and standard requests.

Signed-off-by: Tom Chang <CHChang19@nuvoton.com>
2025-10-09 22:55:48 +03:00
Tom Chang
ee48ccaacf drivers: espi: npcx: add espi support for npck3
This commit adds eSPI support for npck3, including support for the
maximum frequency of 66MHz. The method to read the level of eSPI reset
pin differs on npck3, so the definition of eSPI_RST has been updated
accordingly.

Signed-off-by: Tom Chang <CHChang19@nuvoton.com>
Signed-off-by: Mulin Chao <mlchao@nuvoton.com>
2025-10-09 22:55:48 +03:00
Tom Chang
18423dec9f drivers: espi: npcx: update OOB maximum payload size
This commit updates the OOB payload size. The maximum payload size in
the OOB chapter represents the protocol payload embedded whithin the
packet. The total size should also include the header length, so the
header length needs to be added when checking the overall size.

Signed-off-by: Tom Chang <CHChang19@nuvoton.com>
2025-10-09 22:55:48 +03:00
Tom Chang
5549f5e93f drivers: espi: npcx: add support for SLP_LAN and SLP_WLAN VW signals
This commit adds support for SLP_LAN and SLP_WLAN virtual wire signals
to notify the system.

Signed-off-by: Tom Chang <CHChang19@nuvoton.com>
Signed-off-by: Mulin Chao <mlchao@nuvoton.com>
2025-10-09 22:55:48 +03:00
Tom Chang
c4aaf6151e soc: nuvoton: npcx: update register name
This commit updates the register name to match the datasheet.

Signed-off-by: Tom Chang <CHChang19@nuvoton.com>
2025-10-09 22:55:48 +03:00
Tom Chang
accd3df1a0 dts: espi: npcx: update device tree style
This commit adds new device tree properties and Kconfig options to
distinguish the support in different chip.

Signed-off-by: Tom Chang <CHChang19@nuvoton.com>
2025-10-09 22:55:48 +03:00