Commit graph

136,983 commits

Author SHA1 Message Date
Jamie McCrae
861079f1fe storage: flash_map: Fix macros for offset/address
Fixes macros that broke after changes were merged which started
using the unit address of partition nodes. This also fixes the
test to ensure devices not starting at 0x0 are properly checked
which previously would silently be unknown

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-02-04 13:51:57 +01:00
Jamie McCrae
2f7d13840f kconfig: Fix CONFIG_FLASH_LOAD_OFFSET for non-0 starting addresses
Fixes an issue introduced recently whereby this would now wrongly
become an absolute address when it should be a relative address for
devices that have flash that does not start from an offset of 0.
A deprecated Kconfig has been added which will be set in devices
that are wrong and need their files updating, to allow users to fix
these issues.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-02-04 13:51:57 +01:00
Jamie McCrae
e42a603d86 dts: arm: raspberrypi: rpi_pico: Fix missing partition ranges
Fixes partitions wrongly not being specified at the correct
addresses

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-02-04 13:51:57 +01:00
Jamie McCrae
967454923d boards: nxp: frdm_mcxn947: Fix missing partition ranges
Fixes partitions wrongly not being specified at the correct
addresses

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-02-04 13:51:57 +01:00
Jamie McCrae
5f2e965ed8 dts: arm: infineon: cat3: xmc: Fix missing partition ranges
Fixes partitions wrongly not being specified at the correct
addresses

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-02-04 13:51:57 +01:00
Hake Huang
3a0cad96da tests: watchdog: check dts status for watchdog0
filter out not enabled platforms

Signed-off-by: Hake Huang <hake.huang@nxp.com>
2026-02-04 13:51:45 +01:00
Hake Huang
3d9711181c samples: watchdog: check node enablement in filter
if the node is not enabled in this sample, filter it out

Signed-off-by: Hake Huang <hake.huang@nxp.com>
2026-02-04 13:51:45 +01:00
Hake Huang
9145fd8bd7 soc: mimxrt1180_m7: enahance mimxrt1180_m7 settings
enhance mimxrt1180_m7 core settings
with mpu_region support

Signed-off-by: Hake Huang <hake.huang@nxp.com>
2026-02-04 13:51:40 +01:00
Hake Huang
7fca94767b tests: imx95_m7: exclude un-supported cases
exclude unsupported cases

Signed-off-by: Hake Huang <hake.huang@nxp.com>
2026-02-04 13:51:02 +01:00
Hake Huang
37ca9f9e95 boards: imx95_evk_15x15: add m7 core
add m4 core to the imx95_evk_15x15

Signed-off-by: Hake Huang <hake.huang@nxp.com>
2026-02-04 13:51:02 +01:00
Daniel Leung
ee54baf126 Revert "xtensa: move MMU init functions to mmu.c"
This reverts commit 8c02dde437.

For some unknown reasons, xt-clang emits two copies of
z_xt_init_pc if xtensa_mmu_init_paging() is in the same file
as xtensa_mmu_init() and xtensa_mmu_reinit(). So had to
revert the change.

Fixes #103055

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2026-02-04 13:50:54 +01:00
Ayush Singh
3240c630ea boards: beagle: beagley_ai: mcu_r5: Add watchdog
- Using mcu_rti0 as watchdog timer.
- Tested with samples/drivers/watchdog.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2026-02-04 13:50:44 +01:00
Ayush Singh
39e932f3b7 dts: arm: ti: j722s_mcu: Add mcu_rti0
- Add watchdog timer for mcu domain.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2026-02-04 13:50:44 +01:00
James Roy
b614a26eae dts: bindings: flash_controller: Move the dts clips to examples
Move the dts sample nodes from the binding `description`
into  `examples` block.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-02-04 13:50:35 +01:00
James Roy
d5e6d5dd63 dts: bindings: firmware: Move the dts clips to examples
Move the dts sample nodes from the binding `description`
into  `examples` block.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-02-04 13:50:35 +01:00
Ren Chen
722085372c sample: drivers: ps2: move saturate ps2 handling to workqueue
The timer expiry function is executed by the system clock
interrupt handler. k_sleep() should not be called from
interrupt context. This change deferrs execution to system
workqueue.

Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw>
2026-02-04 13:50:23 +01:00
Neil Chen
70d0de7e28 tests: drivers: can: timing: enable full timing test
Enable the full range of CAN timing tests on the NXP FRDM-MCXA344 boards.

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2026-02-04 13:50:13 +01:00
Neil Chen
eb7085c320 boards: nxp/frdm_mcxax344: Support Flexcan for NXP frdm_mcxax344 board
Support Flexcan for NXP frdm_mcxa344 board

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2026-02-04 13:50:13 +01:00
Neil Chen
efbbdd0325 dts: arm/nxp: Add Flexcan fd support to NXP mcxax344 dtsi file
Add Flexcan fd support to NXP mcxax344 dtsi file

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2026-02-04 13:50:13 +01:00
Benjamin Cabé
ba97ed1ad0 drivers: fpga: adopt SHELL_HELP in FPGA shell
Use SHELL_HELP macro for help strings to ensure consistency across
various shell modules.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-02-04 13:49:51 +01:00
Kyle Bonnici
f55358bcbf dts: use lowercase hex values in DTS files.
Apply chnages from dts-linter 0.3.9.

Improve compliance with DTS Coding Style which says that:

4) Hex values in properties, e.g. “reg”, shall use lowercase hex.
   The address part can be padded with leading zeros.

Signed-off-by: Kyle Bonnici <kylebonnici@hotmail.com>
2026-02-04 13:49:43 +01:00
Kyle Bonnici
3749347e1b CI: Update dts-linter dts-linter 0.3.9
Update DTS linter apply lowercase hex values in DTS files
Improve compliance with DTS Coding Style which says that:

4) Hex values in properties, e.g. “reg”, shall use lowercase hex.
   The address part can be padded with leading zeros.

This need dts-linter 0.3.9

Signed-off-by: Kyle Bonnici <kylebonnici@hotmail.com>
2026-02-04 13:49:43 +01:00
Darcy Lu
309e78772d boards: realtek: add rts5817_maa_evb board
Add support for rts5817_maa_evb board

Signed-off-by: Darcy Lu <darcy_lu@realsil.com.cn>
2026-02-04 13:49:21 +01:00
Darcy Lu
59a6e3592f drivers: watchdog: add watchdog driver for RTS5817
Add watchdog driver for RTS5817

Signed-off-by: Darcy Lu <darcy_lu@realsil.com.cn>
2026-02-04 13:49:21 +01:00
Darcy Lu
b0b5dc7ff6 drivers: pinctrl: add pinctrl driver for RTS5817
Add pin controller driver for RTS5817

Signed-off-by: Darcy Lu <darcy_lu@realsil.com.cn>
2026-02-04 13:49:21 +01:00
Darcy Lu
7960519458 drivers: reset: add reset driver for RTS5817
Add reset driver for RTS5817

Signed-off-by: Darcy Lu <darcy_lu@realsil.com.cn>
2026-02-04 13:49:21 +01:00
Darcy Lu
cff7b7a5af drivers: clock_control: add clock control for RTS5817
Add clock control driver for RTS5817

Signed-off-by: Darcy Lu <darcy_lu@realsil.com.cn>
2026-02-04 13:49:21 +01:00
Darcy Lu
e7e2b0a16c script: Add flash runner for rts5817
Add flash runner script to support west flash for rts5817

Signed-off-by: Darcy Lu <darcy_lu@realsil.com.cn>
2026-02-04 13:49:21 +01:00
Darcy Lu
189ce18e57 soc: realtek: Add image generate tool for RTS5817
Add tool to genarate images of RTS5817 after post build stage

Signed-off-by: Darcy Lu <darcy_lu@realsil.com.cn>
2026-02-04 13:49:21 +01:00
Darcy Lu
b734952881 soc: add realtek RTS5817
Add support for the rts5817 MCU

Signed-off-by: Darcy Lu <darcy_lu@realsil.com.cn>
2026-02-04 13:49:21 +01:00
Darcy Lu
44fdae45f8 dts: arm: add dtsi for RTS5817
Add Device Tree include files for RTS5817.

Signed-off-by: Darcy Lu <darcy_lu@realsil.com.cn>
2026-02-04 13:49:21 +01:00
Darcy Lu
36eb1386cb include: dt-bindings: add headers for RTS5817
Add clock/interrupt/pinctrl/reset dt-bindings headers for RTS5817

Signed-off-by: Darcy Lu <darcy_lu@realsil.com.cn>
2026-02-04 13:49:21 +01:00
Fin Maaß
6873d9ad01 tests: fs: posix: stat: fix test
Due to 35835ed695ad84155dc9e22ce678e48a75a179fa
doing `stat()` on the mount point works now works, as it
should. Change the test to reflect that.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-02-04 13:48:51 +01:00
Alberto Escolar Piedras
8b11b82072 tests: net: socket: Initialize test variable to pacify compiler
clang complains that this variable may be used un-itialized if
neither of the if's below are true. Let's just preset it to 0.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-02-04 13:48:44 +01:00
Venkatesh Odela
0c770e9177 drivers: ethernet: eth_xilinx_axienet: remove unused variable
remove unused variable

Signed-off-by: Venkatesh Odela <venkatesh.odela@amd.com>
2026-02-03 14:32:49 -06:00
Sylvio Alves
883f6e6dca samples: ipm: esp32: fix board qualifier separator in sysbuild
After the BOARD_QUALIFIERS alignment between CMake and Kconfig, the
CMake variable no longer has a leading '/'. Add the separator
explicitly when constructing IPM_REMOTE_BOARD.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-02-03 14:32:24 -06:00
Derek Snell
df8767cb30 shields: rk055hdmipi4m: not recommended
Documents this shield is not recommended for new designs, and replaced
by rk055hdmipi4ma0

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2026-02-03 14:31:58 -06:00
Derek Snell
5f55aab9ca shields: rk043fn02h_ct: discontinued
Documents this shield is no longer manufactured, and replaced by
rk043fn66hs_ctg

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2026-02-03 14:31:58 -06:00
Derek Snell
238085eb14 shields: frdm_stbc_agm01: discontinued
Documents this shield is no longer manufactured.

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2026-02-03 14:31:58 -06:00
Julien Racki
f5bf617afa boards: st: stm32n6570_dk: enable OTP if ETH_STM32_HAL && NVMEM
Using the NET_L2_ETHERNET to enable OTP can create a build error
if we compile the ST Ethernet driver while setting NET_L2_ETHERNET to n.
In fact the MAC node points to the BSEC node that won't be instantiated
by the OTP driver resulting in a build fail.

Checking ETH_STM32_HAL instead of NET_L2_ETHERNET
will ensure that the OTP driver will be built when
the ST Ethernet driver is.

Signed-off-by: Julien Racki <julien.racki-ext@st.com>
2026-02-03 14:31:48 -06:00
Seppo Takalo
f9483e3568 drivers: modem: cellular: Add shutdown script for nRF91
Add shutdown script for nRF91 Serial Modem.

Also, set unused timeout values to zero.
Only the reset_ms is used when the switch from
CMUX back to AT mode UART happens.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2026-02-03 14:31:19 -06:00
Jukka Rissanen
299f0f1cac tests: net: socket: Add tests for sending all data
Make sure zsock_send_all() and zsock_sendmsg_all() works as expected.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2026-02-03 14:30:56 -06:00
Jukka Rissanen
ac0f0ddd4d net: socket: Add helpers to send all data in a buffer
Add helpers for sending all the data in a buffer. This is
only useful for stream sockets like TCP.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2026-02-03 14:30:56 -06:00
Robert Lubos
cdbd54cc0d doc: migration-guide-4.4: Document CoAP resource metadata change
Document that CoAP resource metadata is now configured via dedicated
pointer.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-02-03 14:30:02 -06:00
Robert Lubos
ac80abface net: coap: Use dedicated pointer for resource metadata
CoAP .well-known/core handling routine assumed that the "user_data"
pointer in struct coap_resource will be set to a valid struct
coap_core_metadata pointer, or left NULL. This approach is error
prone (application cannot use "user_data" field freely) and renders the
"user_data" field useless for other cases.

Therefore, introduce a separate "metadata" pointer within the struct
coap_resource specifically to configure the resource-related metadata,
and leave "user_data" for the applications to use freely.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-02-03 14:30:02 -06:00
Fin Maaß
a8b71c24f8 fs: fs_stat: handle if it is on a mount point
If fs_stat() is done on a mount point treat
it like it is a directory, instead of leaving it to
the implementation of the filesystem.

The fatfs for example will fail.
That is also the reason `fs cd` from the fs shell
fails, when trying it on a mountpoint with fatfs.

This also makes the behavior of fs_stat() similar to the one
of fs_readdir(). Especially as both functions use the
`struct fs_dirent` to return the informations.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-02-03 14:29:32 -06:00
Brandon Edmonds
939559bc8e sensing: sensor_mgmt: Fix polling in sensing subsys.
The sensing subsystem currently calls fetch and get from a timer ISR
context. A TODO had been previously added to move this to the runtime
thread context, which has been done in this fix.

Signed-off-by: Brandon Edmonds <bedmonds91@gmail.com>
2026-02-03 14:28:15 -06:00
Jamie McCrae
f37ec7ab85 west.yml: MCUboot synchronization from upstream
Update Zephyr fork of MCUboot to revision:
  d9c2ba153128efd7c16db9f36dea4ee69f63c7f5

Brings following Zephyr relevant fixes:

  - d9c2ba15 boot: bootutil: Add missing swap offset file and
    fix RAM load
  - 9c45fb79 boot: bootutil: Fix extra . in logging output
  - 089dd179 boot: zephyr: Rename nRF54H Kconfig symbol usage
  - 6c294367 boot: zephyr: cmake: Fix Zephyr version file define

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-02-03 14:28:04 -06:00
Jamie McCrae
ee36ddbfc6 tests: boot: mcuboot_direct_xip: Fix changed string for test
A log message in MCUboot was changed, this updates to the new
output

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-02-03 14:28:04 -06:00
Albort Xue
23cdd0f374 drivers: flash: flexspi_nor: Update page program LUT for 4-byte addressing
When 4-byte addressing is enabled, update the page program LUT entry
to use the appropriate 4-byte page program command (SPI_NOR_CMD_PP_4B).

For octal mode (1S-8S-8S), select the correct page program command
based on address width:
- Use SPI_NOR_CMD_PP_1_8_8_4B for 32-bit addressing
- Use SPI_NOR_CMD_PP_1_8_8 for 24-bit addressing

This ensures the flash controller uses the correct command sequence
for page programming operations in both standard and octal modes with
extended addressing.

Signed-off-by: Albort Xue <yao.xue@nxp.com>
2026-02-03 14:27:07 -06:00