Commit graph

126,787 commits

Author SHA1 Message Date
Alain Volmat
8675d738e7 boards: st: n6: avoid access to last 32B of memory-mapped XSPI device
System might become unstable when the last 32 bytes of a XSPI attached
are accessed in memory-mapped mode with cache enabled.
In order to prevent this, remove the last 32-bytes of the PSRAM on the
stm32n6570_dk as well as NOR on the nucleo n657x0_q.
Partitions should also be defined in a way to avoid accessing to the
last 32-bytes of the device.

Issue is described in the STM32N6xxxx errata sheet ES0620 Rev 1:
2.4.5 Deadlock or data corruption when DQS is enabled and the wrap
request includes the last address of the memory

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-09-26 11:08:09 +02:00
Ren Chen
eba8f3a3eb soc: ite: it8xxx2: enable firmware control mode for elpm
This commit enables firmware control mode for elpm by default.

Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw>
2025-09-26 11:07:54 +02:00
Ren Chen
1b7170b81b dts: ite: it82000: add pinctrl_q and power_ctrl_elpm nodes
as title.

Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw>
2025-09-26 11:07:54 +02:00
Yangbo Lu
bdb5c3072a drivers: eth_nxp_imx_netc: add promisc mode support
Added promisc mode support for eth_nxp_imx_netc.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-09-26 11:07:34 +02:00
Hongbo Wang
bb4edb7d32 boards: frdm_imx91: enable tpm2 counter support
Enable TPM2 counter support on FRDM_IMX91 board.
Compile commands:
west build -p always -b frdm_imx91/mimx9131 \
             tests/drivers/counter/counter_basic_api/

Signed-off-by: Hongbo Wang <hongbo.wang@nxp.com>
Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-09-26 11:07:26 +02:00
Hongbo Wang
6c34a47c8c boards: nxp: add support for platform FRDM-IMX91
Added FRDM-IMX91 board support.
Building hello_world:
west build -p always -b frdm_imx91/mimx9131 samples/hello_world

Signed-off-by: Hongbo Wang <hongbo.wang@nxp.com>
Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-09-26 11:07:26 +02:00
Sean O'Connor
d1a7d1dde1 samples: i2s: echo: Enable nRF53 MCK output in I2S sample
Enable the MCK output to a pin to allow for DAC and ADC clocking.
Provides a MCK source to peripherals that can utilize an external
clocking source for internal DSP processes, especially at higher
MCK/LRCK ratios.

Signed-off-by: Sean O'Connor <sean@standalone.tech>
2025-09-26 11:07:12 +02:00
Sean O'Connor
8115d9b453 drivers: i2s: nrfx: Allow MCK bypass for proper LRCK and MCK Ratios
nRF53 series SoCs have a dedicated configurable audio PLL and the ability
to enable MCK bypass via a register value CONFIG.CLKCONFIG. This can
enable higher MCK/LRCK ratios that some I2S peripherals require the host
to generate. Allow an application developer to choose if they want to
initially look for a bypass ratio and, if found, enable bypass in the
NRFX driver. If not, the standard MCK calculation is conducted as normal.

Signed-off-by: Sean O'Connor <sean@standalone.tech>
2025-09-26 11:07:12 +02:00
Muhammad Waleed Badar
0eb4000cd0 samples: rtc: add overlay for da14695 and da14699
Add overlay for da14695 and da14699 soc and rtc alias
for da1469x_dk_pro and da14695_dk_usb boards

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2025-09-26 11:07:02 +02:00
Yongxu Wang
208607d28a samples: drivers: uart: removed lpuart from an incompatible filter
Removed lpuart from sample.drivers.uart.async_api.console

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2025-09-26 09:12:18 +02:00
Heghedus Razvan
5430400579 shell: add option to toggle logs output
When logging through shell is enabled, it is inconvenient to use
the shell when there are logs coming in. Having a mechanism for
easy disabling/re-enabling the shell logs is a nice quality of life
feature.

To toggle the logs, `CTRL+T` combination can be used. This is
available only when meta key feature is enabled.

Signed-off-by: Heghedus Razvan <heghedus.razvan@protonmail.com>
2025-09-26 09:10:50 +02:00
Ayush Singh
78197c6886 boards: beagle: pocketbeagle_2: a53: Enable I2C3
- I2C3 is the default config for P2.09 and P2.11 according to schematic.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-09-26 09:10:20 +02:00
Thorsten Klein
b9516025ce scripts: west_commands: fix default build directory fallback
fixed fallback to default build directory (build) in case that no other
build directory could be determined.

Signed-off-by: Thorsten Klein <Thorsten.Klein@bshg.com>
2025-09-26 09:09:56 +02:00
Jukka Rissanen
c155dfa3a3 net: tcp: Print relative seq and ack numbers
It is easier to debug things when both the relative and absolute
TCP seq and ack numbers are printed in debug prints.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-09-26 09:09:38 +02:00
Jukka Rissanen
2295878a3a tests: net: udp: Add shutdown() test
Make sure shutdown() closes receiving side of the UDP socket.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-09-26 09:09:38 +02:00
Jukka Rissanen
fe932ddbf0 net: context: Remember socket shutdown status
Use the socket eof flag to determine whether the receive
callback should be installed. If the receive cb is not installed,
then the socket cannot receive any data.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-09-26 09:09:38 +02:00
Jukka Rissanen
a08d48ed19 logging: backend: net: Discard all received data from TCP or UDP socket
If there is received data in the TCP or UDP socket, discard it in order to
avoid leaking net_bufs because we are only sending data out and should
not receive anything.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-09-26 09:09:38 +02:00
Jukka Rissanen
f7c14319a3 logging: backend: net: Do not bind local socket
The logging net backend will send syslog messages to syslog server and
it is not meant to receive anything. If we bind to a local socket, it will
create UDP server socket that can receive data. Unfortunately there is no
one reading the data so we will eventually run out of memory in this case.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-09-26 09:09:38 +02:00
Jonas Berg
8f131295af boards: shields: Add Adafruit LTR-329 light sensor shield
The product photo is from https://learn.adafruit.com/assets/115230

Tested with the commmand mentioned in the index.rst file.

Compilation testing in CI of the overlay file is done via the
light_polling sample.

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2025-09-26 09:09:26 +02:00
Hou Zhiqiang
7476c5278d drivers: scmi: nxp: fix build warning
When none of the configs is enabled, it will reports the following build
warning:

CMake Warning at zephyr/CMakeLists.txt:1096 (message):
  No SOURCES given to Zephyr library: drivers__firmware__scmi__nxp

  Excluding target from build.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-09-26 06:40:56 +02:00
Pete Johanson
7adf46690a boards: adi: Add Arduino I2C support to APARD32690
Properly export a working `&arduino_i2c` node on the APARD32690 board, for
use with various Uno shields.t

Signed-off-by: Pete Johanson <pete.johanson@analog.com>
2025-09-26 06:40:47 +02:00
Daniel Leung
20417c4363 tests: kernel/smp: customize for test_smp_ipi
This adds some kconfigs to allow customizing the SMP IPI
broadcast test.

* Can running for more iterations.
* The wait period can be changed.
* Retry waiting for the other processors to complete
  processing the IPI.
  * This is mainly to avoid having a single long wait.
    The whole wait period is broken down so that we can
    bail out early if that iteration is deemed a success.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2025-09-26 06:40:40 +02:00
Mark Wang
e82a9951e8 bluetooth: a2dp: fix spelling error of STEREO
change A2DP_SBC_CH_MODE_STREO as A2DP_SBC_CH_MODE_STEREO

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2025-09-26 06:40:29 +02:00
Carles Cufi
0d7e0b8969 tests: drivers: build_all: gpio: Fix license
This overlay was mistakenly submitted using a Nordic-specific license.
Switch to the standard Apache 2.0.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2025-09-25 14:20:01 -04:00
Fabrice DJIATSA
3c9d3b3457 samples: drivers: uart: async_api: update test configurations
- Deactivate cache to avoid the TX buffer being placed in a
  non-cacheable memory region for NUCLEO_F746ZG.
- Add missing configuration in the overlay for STM32F3-DISCO.
- Change USART1 to USART2 to avoid conflicts on NUCLEO_F103RB.


Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-09-25 14:19:53 -04:00
Fabrice DJIATSA
7f8b74afac tests: drivers: uart: uart_elementary: update configurations
changes test configuration for nucleo_h753zi and nucleo_g071rb

- nucleo_g071rb

 Delete undefined USB node to resolve CI failure.
 Update CTS and RTS pin signals to avoid another conflict.

- nucleo_h753zi

 Add CTS and RTS pins.

- stm32u083c_dk

  Finally, remove stm32u083c_dk due to pin conflicts
  (see UM3292 table 14).

- update sample.yaml to exclude nucleo_h743zi, which will no
  longer be available for testing. Also remove stm32u083c_dk
  from CI testing.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-09-25 14:19:53 -04:00
Etienne Carriere
c7b31f3957 samples: boards: st: power_mgmt remove standby_shutdown sample
Remove samples/boards/st/power_mgmt/standby_shutdown.

Sample standby_shutdown in boards/st/power_mgmt includes 2 examples.
One demonstrates wakeup from shutdown using a wakeup pin which is already
implemented in samples/boards/st/power_mgmt/wkup_pins. The other
demonstrates wakeup from SoC STANDBY mode using a wakeup pin. However
it enters SoC STANDBY mode through pm_state_force() whereas
STANDBY mode is not a PM standby or idle state, it is rather a shutdown
with possibly only a unique small SRAM retention, not allowing retention
of the system as expected from Zephyr standby or idle state flavors.
Therefore this second scenario is not applicable and can be removed.

Update doc redirection to link removed sample documentation to ST board
power management related samples documentation.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2025-09-25 14:19:44 -04:00
Sylvio Alves
2ace07774d samples: boards: espressif: update board reference
As esp32s3_devkitm does not provide SPIRAM, change test
to use esp32s3_devkitc instead.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-09-25 14:19:32 -04:00
Sylvio Alves
c54ce41f11 boards: esp32s3_devkitc: make default with spiram
This board always integrates SPIRAM. So make it default 8M.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-09-25 14:19:32 -04:00
Karsten Koenig
19f709910f soc: nordic: common: uicr: Add GRTC fast clkout
Add the mapping for the GRTC_CLKOUT_FAST pinctrl mapping to the
periphconf generation. This allows clocking out the 16MHz clock with a
user selectable divider.

Signed-off-by: Karsten Koenig <karsten.koenig@nordicsemi.no>
2025-09-25 14:19:22 -04:00
Sylvio Alves
62ab43d1f0 west.yml: espressif: improvements and updates
- Keep RISC-V interrupt state if placed in IRAM when
cache enable/disable is called.

- Update hal_espressif to include TX notify callback for
the following SoCS: ESP32-C2, ESP32-C6 and ESP32-H2.

- Removed Wi-Fi/BLE binary blobs that are not required.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-09-25 14:19:13 -04:00
Cla Mattia Galliard
31b067482a drivers: power_domain: gpio: Use k_timepoint_t for absolute time
Use k_timepoint_t instead of k_timeout_t for absolute time to avoid
ambiguity and ensure the code works even when CONFIG_TIMEOUT_64BIT=n.

Signed-off-by: Cla Mattia Galliard <clamattia@gmail.com>
2025-09-25 14:19:04 -04:00
Cla Mattia Galliard
52f1133806 drivers: gnss: quectel lcx6g: Fix overflow by using timepoint-API
Make use of the timepoint-API to fix a potential 32-bit unsigned int
overflow in this driver.

Signed-off-by: Cla Mattia Galliard <clamattia@gmail.com>
2025-09-25 14:18:54 -04:00
Cristian Bulacu
18f1abdc30 net: l2: openthread: Fix nat64 API compile warning
This PR includes OpenThread's NAT64 header file when
NAT64_TRANSLATOR is enabled. This is done to avoid compile
warnings when OT NAT64 API is used.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2025-09-25 14:18:45 -04:00
Quentin LACOMBE
69efca72fb lvgl: add new migration guide entry
This patch can cause breaking change, so it need migration guide entry.

Signed-off-by: Quentin LACOMBE <quentlace2g@gmail.com>
2025-09-25 14:18:37 -04:00
Quentin LACOMBE
a974785131 lvgl: Fix monochrome display color inversion
Fix issue that cause color inversion with monochrome display by replace
PIXEL_FORMAT_MONO10 by PIXEL_FORMAT01 to have the expected behavior.

Signed-off-by: Quentin LACOMBE <quentlace2g@gmail.com>
2025-09-25 14:18:37 -04:00
Pieter De Gendt
9b24a80faa doc: develop: west: config: Add auto-cache
Add an entry to the west configuration table for auto-cache.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-09-25 14:18:25 -04:00
Pieter De Gendt
0af7142f87 doc: develop: west: Add v1.5.0 release notes
Add a section to the west release notes for v1.5.0.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-09-25 14:18:25 -04:00
Lucien Zhao
5261025116 boards: nxp: mimxrt1180_evk: switch to use C parts
- mimxrt1189cvm8c part have been designed on public EVK board
  switch to use mimxrt1189cvm8c part
- Update some doc web information in index.rst

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-09-25 14:18:16 -04:00
Lucien Zhao
beb7114f0d soc: nxp: imxrt: add c parts for RT1180
add c parts for RT1180

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-09-25 14:18:16 -04:00
Lucien Zhao
6767cacb87 west.yml: update hal_nxp for rt1180 pinctrl.h
Updated hal_nxp to add rt1180 pinctrl.h

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-09-25 14:18:16 -04:00
Declan Snyder
8e30c5400a tests: pm: Add constraint list API test
Add test for lock/unlock constraint lists using the new arbitrary DT
phandles macros and pm_policy_state_constraints_get/put APIs.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-09-25 14:18:05 -04:00
Bjarki Arge Andreasen
6581db3901 dts: arm: nxp: rw6xx_common.dtsi: use default power domain
Update board to use default power domain for the "peripheral"
domain, which when resumed prevents SoC from entering suspend and
standby states as these power down peripherals.

Note by co-author: Cherry-picked this commit and edited it to work
without the generic domain refactoring on the branch it came from.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
Co-authored-by: Declan Snyder <declan.snyder@nxp.com>
2025-09-25 14:18:05 -04:00
Declan Snyder
1481755acb drivers: uart_mcux_flexcomm: Refactor low power state handle
Refactor low power state handling to not tie to zephyr,disabling-states
and define it's own separate "low power states" property in DT instead.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-09-25 14:18:05 -04:00
Declan Snyder
a4225b1ee8 pm: Add constraint lists and APIs
Some pieces of the system may have custom types of constraints that they
define based on different effects and reasons than just the standard
"zephyr,disabling-states". To avoid every single one of these component
reinventing the wheel, make some common APIs to handle these type of
custom constraint lists.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-09-25 14:18:05 -04:00
Declan Snyder
ae1f13149f pm: Extend pm notifier to be able to report substate
I am surprised this notifier didn't already report the substate id, it
seems important since different substate obviously are defined for a
reason, they can be having a different effect on the system.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-09-25 14:18:05 -04:00
Lucien Zhao
28530bc768 samples: subsys: ipc: openamp: correct mpu attribution
- Set ocram2_sh_mem attribution as ATTR_MPU_RAM_NOCACHE

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-09-25 14:17:57 -04:00
Lucien Zhao
c503850cd4 boards: nxp: rt1180: migrate mpu setting under board folder
- add NXP_BOARD_SPECIFIC_MPU_SETTINGS kconfig to provide a switch
  for developer if they want to use private mpu settings
    CONFIG_NXP_BOARD_SPECIFIC_MPU_SETTINGS==1  | NXP default setting
    CONFIG_NXP_BOARD_SPECIFIC_MPU_SETTINGS==0  | User specific

- Use DT function to get memory base address and region size for cm7

- CM33 use dts to set mpu settings

- Add REGION_CUSTOMED_MEMORY_SIZE macro provide a common mapping ways
  to map actual memory_size_kb to "region_size"

-  The settings of the unified memory on cm33/cm7 cores:
    ocram1/flexspi2 -> REGION_RAM_NOCACHE_ATTR
    ocram2/dtcm -> REGION_RAM_NOCACHE_ATTR
    flexspi/itcm -> REGION_FLASH_ATTR

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-09-25 14:17:57 -04:00
Grzegorz Swiderski
8df937e8cd doc: storage: zms: Update to reflect new additions
The ATE structure section is now divided into subsections describing
multiple ATE formats, including the one added for CONFIG_ZMS_ID_64BIT.
The sections about features and recommendations are updated as well.

Mentions of 32-bit key/ID are revised to account for 64-bit ID support.
Mentions of <= 8 bytes data size also had to be reworked, because this
property is tied to the chosen ATE format.

Some unrelated, minor changes are also sprinkled throughout.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2025-09-25 14:17:24 -04:00
Grzegorz Swiderski
4a3b87b8d4 tests: zms: Add test coverage for ZMS_ID_64BIT
* Update the "corrupt ATE" tests to work with the new ATE format.

* Add a basic test to verify support to 64 bit ZMS IDs.

* Add a `testcase.yaml` entry to cover the above points and also run
  lookup cache tests to evaluate the 64 bit hash function.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2025-09-25 14:17:24 -04:00