Commit graph

126,787 commits

Author SHA1 Message Date
Anas Nashif
bf82f7ffac copyrights: fix copyright line
Add space before (c) to allow correct parsing by linters.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-10-07 22:53:45 -04:00
Pete Johanson
e5838ffc21 dts: arm: adi: Proper MAX32690 sram7 size
Correct the MAX32690 sram7 node's size to 192K, matching the hardware.

Signed-off-by: Pete Johanson <pete.johanson@analog.com>
2025-10-07 17:44:34 +03:00
Pete Johanson
31a94a88e3 dts: arm: adi: Proper MAX32690 flash1 settings
Fix the MAX32690 flash1 node's address and erase size properties to match
the datasheet. Add a test for that platform as well to verify the
functionality of the FLC1 peripheral instance.

Signed-off-by: Pete Johanson <pete.johanson@analog.com>
2025-10-07 17:44:34 +03:00
Emil Gydesen
2140b55d29 Bluetooth: BAP: Shell: 0-init some global variables
0-init some non-static global variables to avoid
issues with uninitialized values. Also modify
the printing of the broadcast sources found slightly.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-10-07 17:44:19 +03:00
Daniel Skinstad Drabitzius
5bf4af9b72 doc: develop: manifests: external: add mender-mcu
Introduce documentation for using mender-mcu as an external module in
Zephyr.

Signed-off-by: Daniel Skinstad Drabitzius <daniel.drabitzius@northern.tech>
2025-10-07 17:44:09 +03:00
Dawid Niedzwiecki
58a7119d28 mgmt: ec_host_cmd: usb: fix double free
Fix double free of a net buffer after request error.

Signed-off-by: Dawid Niedzwiecki <dawidn@google.com>
2025-10-07 17:43:59 +03:00
David Boullie
6fd7280b3d net: openthread: Expand OpenThread features
Add Kconfig support for the following OpenThread features:
- OPENTHREAD_MAC_BEACON_PAYLOAD_PARSING
- OPENTHREAD_PLATFORM_USEC_TIMER
- OPENTHREAD_MULTIPLE_INSTANCE_NUM

Modify core configuration to set the number of
short and extended source address table entries to the
maximum number of children, in line with upstream
OpenThread configuration.

Signed-off-by: David Boullie <David.Boullie@silabs.com>
2025-10-07 17:43:47 +03:00
Armando Visconti
ea072d31ff drivers/sensor/: lis2dux12/lsm6dsv16x: use helpers
Make use of rtio_read_regs_async() and rtio_flush_completion_queue()
helpers in lis2dux12 and lsm6dsv16x sensor drivers.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2025-10-07 17:43:32 +03:00
Jamie McCrae
2a1444efdb modules: mcuboot: Fix missing chosen node lookup
Fixes an issue caused by using a chosen node string as a node
rather than looking the node up first so it could be used

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-10-07 17:43:20 +03:00
Piotr Kosycarz
491498ab9e boards: nordic: nrf54lm20dk: remove support for wdt from flpr
Should not be added in first place, never working.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2025-10-07 14:07:00 +02:00
Jordan Yates
655abd8bcf tests: modem: chat: test modem_chat_is_running
Add tests for `modem_chat_is_running`.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-10-07 14:06:37 +02:00
Jordan Yates
83375a8f86 modem: chat: add modem_chat_is_running
Add a helper function to query if the chat instance is currently running
a script.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-10-07 14:06:37 +02:00
Håkon Amundsen
9d5f94f90b soc: ironside: add min and max values for update
The update will fail if the address is outside  of this range.
This failure might trigger a bad state where the device is
non-trivial to recover.

Signed-off-by: Håkon Amundsen <haakon.amundsen@nordicsemi.no>
2025-10-07 14:06:24 +02:00
Jamie McCrae
93bc73a415 docs: releases: migration: 4.3: Add note on OS mgmt info change
Adds a note that the board target is now returned in the hardware
platform field

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-10-07 14:06:06 +02:00
Jamie McCrae
9002db0b46 tests: mgmt: mcumgr: os_mgmt_info: Update to use board target
Uses the newly changed board target for the hardware platform

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-10-07 14:06:06 +02:00
Jamie McCrae
b2884ffb20 mgmt: mcumgr: grp: os_mgmt: Use board target for hardware platform
Uses the full hwmv2 board target for the hardware platform output,
seemingly this was missed in the hwmv2 migration and it was using
the board name only. Adds a deprecated Kconfig to restore to the
previous behaviour

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-10-07 14:06:06 +02:00
Ravinder Singh
0520dfe8ff Bluetooth: Tester: Fixed read_multiple_var
read_multi_var was always sending 5 as count of handles.
This was causing failure in GATT/CL/GAR/BI-36-C, GATT/CL/GAR/BI-40-C
and other tests expecting IUT to send
GATT_ReadMultipleVariableLengthRequest
Fixed this was using the cp->handles_count coming by autoPTS.

Signed-off-by: Ravinder Singh <ravinder.singh2@infineon.com>
2025-10-07 12:50:21 +02:00
Andrzej Puzdrowski
eb931d425f kernel/Kconfig.init: update description of SOC_RESET_HOOK
Updated description on conditions and assumptions in which
the soc_reset_hook is executed.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2025-10-07 12:50:10 +02:00
Andrzej Puzdrowski
418eed0f90 arch/arm: introduce the pre-stack/RAM init hook
Introduce hook for customize reset.S code even before stack is
initialized or RAM is accessed. Hook can be enabled using
CONFIG_SOC_EARLY_RESET_HOOK=y.
Hook implementation is by soc_early_reset_hook() function which should
be provided by custom code.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2025-10-07 12:50:10 +02:00
Bjarki Arge Andreasen
3d12e18b40 tests: arch: arm: irq_vector_table: don't printk from ISRs
This rather anchient test suite calls printk from within ISRs.
printk() is not declared isr safe, and printk should be avoided from
ISRs due to their stack and cpu time requirements. The test suite
does not use the printk() output in any case, so the printk() output
is simply removed. The README.txt has been updated with the actual
output produced by todays test suite, sans the printk() output.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-10-07 12:48:38 +02:00
Vincent Tardy
66998ef445 west.yml: update hal_stm32 revision for LL lib url update
Update hal_stm32 revision to update url of link layer
libraries for stm32wba.

Signed-off-by: Vincent Tardy <vincent.tardy@st.com>
2025-10-07 12:47:56 +02:00
Raffael Rostagno
c64fc89184 tests: drivers: counter: esp32: Add RTC counter support
Add RTC counter support (LP TIMER and RTC) for ESP32 chips.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2025-10-07 12:47:45 +02:00
Raffael Rostagno
674fd6495d tests: drivers: counter: Configurable ticks tolerance
Make ticks tolerance configurable for chips which need a more
relaxed value for testcase which assesses count precision.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2025-10-07 12:47:45 +02:00
Raffael Rostagno
1d2f012fbe drivers: counter: rtc: esp32: Add LP TIMER support
Add support to LP TIMER peripheral, for ESP32-C6 and ESP32-H2
RTC counter support.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2025-10-07 12:47:45 +02:00
Raffael Rostagno
01d430826e drivers: counter: rtc: esp32: Fix cancel alarm condition
Disable RTC interrupts when cancelling alarm, and clear callback
data, to make sure no ISR/callback is serviced after alarm is
cancelled. Also, check programmed ticks in ISR to make sure
alarm triggered is not an outdated/cancelled event.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2025-10-07 12:47:45 +02:00
Raffael Rostagno
16632333a2 drivers: counter: rtc: esp32: Fix overflow case
Fix alarm setting when timer has overflown beyond 32-bit boundary.
Timer is 48-bit, so it requires high word to be programmed along
the 32-bit word managed by the driver.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2025-10-07 12:47:45 +02:00
Raffael Rostagno
a71f2bae30 dts: bindings: counter: esp32: Fix compatible name
Fix compatible name on device tree, to allow RTC timer based
counter driver to be enabled. Disable rtc_timer node for all
devices to keep standard.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2025-10-07 12:47:45 +02:00
Emil Gydesen
35909d7fdf Bluetooth: CAP: Mark err used for assert as __maybe_unused
If asserts are disabled, then `err` is unused can caused
a compiler warning.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-10-07 12:47:30 +02:00
Emil Gydesen
f6905b7374 tests: Bluetooth: Shell: Add bluetooth.shell.audio.no_assert
Add a test case that disables asserts to ensure that the
BT shell with audio can be built without compiler
warnings/errors when asserts are disabled.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-10-07 12:47:30 +02:00
Seppo Takalo
5fa605af17 drivers: modem: cellular: nRF91: Remove periodic chat script
Remove periodic chat script as the AT+CEREG=1 notifications are already
enabled.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2025-10-07 12:47:19 +02:00
Fabian Blatz
637e07d653 test: rtc: add nxp,pcf85063a to build_all test suite
Ensure this driver is tested in the build_all test suite.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2025-10-07 12:47:07 +02:00
Fabian Blatz
bae6e3563b drivers: rtc: Add nxp,pcf85063a driver
Adds a driver implementation for the pcf85063a I2C rtc.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2025-10-07 12:47:07 +02:00
Davi Herculano
d1493b60d6 driver: i2s: fix nxp i2s fifo combine values
MCUX defined RX fifo combine names and the
references need to be adjusted in the i2s driver.

Signed-off-by: Davi Herculano <davi.herculano@adam-audio.de>
2025-10-07 11:01:01 +02:00
Pieter De Gendt
f430d38910 doc: releases: 4.3: Add CoAP client callback data migration and notes
Add a migration note entry for the CoAP client response callback signature
change and add an entry to the release notes for the new struct type.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-10-07 11:00:50 +02:00
Pieter De Gendt
6a4b5cd3d3 net: lib: coap: Add packet pointer to client response callback data
Pass a pointer to the CoAP packet in the response data. This allows
callback function to inspect for CoAP options.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-10-07 11:00:50 +02:00
Pieter De Gendt
cbef8679f4 net: lib: coap: Convert client response callback arguments to struct
Make it easier to modify the response callback data by passing it as a
struct pointer rather than a long list of arguments.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-10-07 11:00:50 +02:00
Elmo Lan
c0a421c329 drivers: i2c_dw: Avoid spamming NACK error messages
NACK message now log with LOG_ERR_RATELIMIT
instead of LOG_ERR to reduce log noise.

When scanning I2C device,
receiving a NACK is expected behavior and not necessarily an error.
Logging it at LOG_ERR causes unnecessary clutter in the logs.

Therefore, the log level is change to LOG_ERR_RATELIMIT for NACK cases.

Signed-off-by: Elmo Lan <elmo_lan@realtek.com>
2025-10-07 10:59:52 +02:00
Jordan Yates
1f3ce818fc bluetooth: controller: ll_sw: nordic: constant latency req
When `CONFIG_NRF_SYS_EVENT` is enabled, route constant latency requests
through the reference counted API.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-10-07 10:59:38 +02:00
Jordan Yates
75cb327336 samples: nordic: nrf_sys_event: test SOC_NRF_FORCE_CONSTLAT
Validate that `CONFIG_SOC_NRF_FORCE_CONSTLAT=y` compiles.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-10-07 10:59:38 +02:00
Jordan Yates
169957f25c soc: nordic: common: CONFIG_SOC_NRF_FORCE_CONSTLAT
Move the option to force constant latency mode outside of nRF54l, since
it is an option applicable to most Nordic SoCs.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-10-07 10:59:38 +02:00
Jordan Yates
adecb09978 modem: select UART_USE_RUNTIME_CONFIGURE
Override any defaults for `UART_USE_RUNTIME_CONFIGURE` when using
`CONFIG_MODEM_CELLULAR`, as the baudrate update feature depends on it.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-10-07 10:59:18 +02:00
Charles Hardin
2bfd76425a net: ip: account for the size in the inet_ntop code path
The code was writing to the dst without a verification check on
size which is not appropriate. The guard on the arguements should
be enforced and so just ensure the size is larger then the
definition of the strings from POSIX and return an error in those
cases.

Signed-off-by: Charles Hardin <ckhardin@gmail.com>
2025-10-07 10:59:08 +02:00
Charles Hardin
a8aa8af946 net: dns: fix the inet_ntop buffer size mismatch with a sizeof
From the manpage for inet_ntop

  This function converts the network address structure src in the af
  address family into a character string.  The resulting string is
  copied to the buffer pointed to by dst, which must be a non-null
  pointer.  The caller specifies the number of bytes available in
  this buffer in the argument size.

In an unintended misconfiguration the resolve max string ended up
being 20 and tracking thru some wierd code issues determined some
stack corruption which came back to the shell command. So, just
fix the size argument to be the sizeof which then leads to the next
problem that the size is being ignored by inet_ntop.

Signed-off-by: Charles Hardin <ckhardin@gmail.com>
2025-10-07 10:59:08 +02:00
Declan Snyder
1a5bef6bee tests: flash: Fix disable_spi_nor case
This case was originally made sort of naively due to the fact that the
test was prioritizing testing spi nor first, but we wanted to test SOC
flash drivers, not the spi flash driver, so we just disabled
CONFIG_SPI_NOR. But this caused issues for platform which don't have a
storage partition or platform where the storage partition was actually
on a spi nor (because then there is no spi device leading to a linking
error with no reference to device object)

So fix by introducing a config to change the test logic to prioritize
the storage partition, which is really what we wanted to do in the first
place more directly I think.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-10-07 10:58:49 +02:00
Alexander Kozhinov
66a0f82e10 tests: drivers: comparator: stm32 comparator support
add support for nucleo_g474re and nucleo_h745zi_q boards

Signed-off-by: Alexander Kozhinov <ak.alexander.kozhinov@gmail.com>
2025-10-07 10:58:31 +02:00
Alexander Kozhinov
7eb3b41e7d drivers: comparator: implement stm32 comparator driver
implement the driver for the stm32 comparator peripheral

Signed-off-by: Alexander Kozhinov <ak.alexander.kozhinov@gmail.com>
2025-10-07 10:58:31 +02:00
Alexander Kozhinov
5c9a2debac dts: arm: st: add comparator to h7 and g4
adds comparator DTS entities for stm32h7 and stm32g4 series

Signed-off-by: Alexander Kozhinov <ak.alexander.kozhinov@gmail.com>
2025-10-07 10:58:31 +02:00
Alexander Kozhinov
f5270c590b dts: bindings: comparator: add STM32 COMP device driver
Add STM32 COMP devices comparator DTS description

Signed-off-by: Alexander Kozhinov <ak.alexander.kozhinov@gmail.com>
2025-10-07 10:58:31 +02:00
Marek Matej
e36132359f samples: subsys: Fix ESP32 SoCs support
Fix ESP32 and ESP32-S3 support:

* Add Espressif overlays for default and remote target.
* Add remote targets for Espressif boards.
* Fix remote runtime by increasing the stack size in case of ESP32.
* Make the test cycle config option.
* Make the test stacks config options.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2025-10-07 10:58:20 +02:00
Jiafei Pan
9ae10ea9b2 boards: frdm_imx93: enable watchdog on the board
Enable watchdog on the board.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-10-06 20:17:50 -04:00