Commit graph

116690 commits

Author SHA1 Message Date
Benjamin Cabé
48566d834d drivers: sensor: mmc56x3: add error handling in mmc56x3_chip_init
The return code of several initialization functions was being ignored.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-09 14:45:27 -07:00
Benjamin Cabé
5fd565e6b4 drivers: sensor: mmc56x3: add missing return statement
Added a missing return statement in the mmc56x3_decoder_get_size_info
causing incorrect size calculation for single channel data

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-09 14:45:27 -07:00
Benjamin Cabé
854713cc88 drivers: sensor: fix sensor_handlers checks
z_vrfy_sensor_reconfigure_read_iodev function was performing a
a K_SYSCALL_MEMORY_READ check using an incorrect structure type.

z_vrfy_sensor_get_decoder wasn't properly checking output
parameter `decoder`

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-09 14:44:36 -07:00
Benjamin Cabé
fd7c3b4c1c drivers: sensor: paa3905: fix condition in SQE acquisition check
Corrected the logical operator (||, not |) in the condition that checks
for successful acquisition of RTIO SQEs.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-09 14:43:42 -07:00
Benjamin Cabé
df2179f2a4 drivers: sensor: icm45686: fix condition in SQE acquisition check
Corrected the logical operator (||, not |) in the condition that checks
for successful acquisition of RTIO SQEs.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-09 14:43:42 -07:00
Pavel Maloletkov
26cf7a0064 net: http: fix __z_http_service_define fields incorrect order
Fixes an error:
error: designator order for field 'http_service_desc::backlog'
does not match declaration order in 'const http_service_desc'
When compiled for C++

Signed-off-by: Pavel Maloletkov <pavllick@gmail.com>
2025-06-09 14:43:04 -07:00
Muzaffar Ahmed
918d76918f drivers: wifi: siwx91x: Fix TWT wake interval unit conversion
Fixed an incorrect TWT wake interval unit conversion (256 was
incorrectly swapped with 1024)

Signed-off-by: Muzaffar Ahmed <muzaffar.ahmed@silabs.com>
2025-06-09 14:41:20 -07:00
Martin Hoff
91f4082a52 drivers: serial: ns16550: clock subsys correction
Fix clock subsys property selection when having multiple uart device
that uses ns16550 driver.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2025-06-09 14:40:36 -07:00
Alessandro Manganaro
bbef47fc56 drivers: flash: stm32wba: fix build issue when BLE enabled
Specific flash driver is used for stm32wbax when ble is
enabled. A simple typo error was fixed to properly build
all the samples where flash and ble are enabled,
such as the peripheral one.

Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com>
2025-06-09 14:39:34 -07:00
Robin Kastberg
0fc490956b iar: linker: Do --whole_archive linking
Instead of getting names of all object files, link
against libraries using `--whole_archive`
Signed-off-by: Robin Kastberg <robin.kastberg@iar.com>
2025-06-09 14:37:05 -07:00
Raffael Rostagno
8ed4d044d1 tests: dma: esp32c2: esp8684: Add test config
Add test config for chan_blen_transfer suite.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2025-06-09 14:35:51 -07:00
Raffael Rostagno
04cf4e1389 boards: esp8684_devkitm: Add DMA indication
Add DMA support indication to board's YAML file.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2025-06-09 14:35:51 -07:00
Raffael Rostagno
0dd3274a92 dts: esp32c2: esp8684: Add GDMA support
Add GDMA peripheral to device tree.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2025-06-09 14:35:51 -07:00
Sudan Landge
46a7b290e5 doc: arm: MPS4 Corstone-320
Add documentation for MPS4 board.

Signed-off-by: Sudan Landge <sudan.landge@arm.com>
2025-06-09 14:35:12 -07:00
Sudan Landge
feb8f7766e tests: update for MPS4
MPS4, similar to MPS3 Corstone-310, splits code between DTCM and SRAM
and thus requires similar handling.

Signed-off-by: Sudan Landge <sudan.landge@arm.com>
2025-06-09 14:35:12 -07:00
Sudan Landge
97c501f0f3 modules: ethos_u: arm: update for MPS4
Update support for MPS4 which has default 256 MACs as per FVP.

Signed-off-by: Sudan Landge <sudan.landge@arm.com>
2025-06-09 14:35:12 -07:00
Sudan Landge
5a3c4941a2 pinctrl: add support for mps4
Add MPS4 pinctrl support by referring to
`mps4/common/partition/platform_base_address.h`
from TF-M's main branch.

Signed-off-by: Sudan Landge <sudan.landge@arm.com>
2025-06-09 14:35:12 -07:00
Sudan Landge
d1e830fe0d boards: arm: add support for MPS4 Corstone-320
Add initial support for the MPS4 Corstone-320 platform, including board
and SoC definitions. This platform features a Cortex-M85 CPU with an
Ethos-U85 NPU and runs in simulation using the FVP_Corstone_SSE-320
Fixed Virtual Platform.

Signed-off-by: Sudan Landge <sudan.landge@arm.com>
2025-06-09 14:35:12 -07:00
Raffael Rostagno
5ba88753cc wifi: esp32s3: Fix IRQ allocation
Update HAL to fix wifi IRQ allocation for ESP32-S3.
HAL code depends on ESP_WIFI_TASK_CORE_ID symbol to properly build
the reserved IRQs table. If define is not present, IRQ 0 (wifi) is
not reserved, causing interrupt allocation problems.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2025-06-09 14:33:12 -07:00
Gang Li
306d9afa90 boards: shields: nxp_m2_wifi_bt: add nxp_m2_2ll_wifi_bt module
Added seperate shield overlay for supported M.2 2LL module to enable
BT or WIFI or Both.

Signed-off-by: Gang Li <gang.li_1@nxp.com>
2025-06-09 14:30:04 -07:00
Guotao Zhang
b2c4397185 drivers: bluetooth: hci: nxp: add Kconfig for IW610
Add Kconfig BT_NXP_IW610.

Signed-off-by: Guotao Zhang <guotao.zhang@nxp.com>
2025-06-09 14:30:04 -07:00
Gang Li
6b62df129b drivers: wifi: nxp: add Kconfig for IW610
Add Kconfig NXP_IW610, NXP_IW610_MURATA_2LL_M2,
NXP_IW610_RD_USD

Signed-off-by: Gang Li <gang.li_1@nxp.com>
2025-06-09 14:30:04 -07:00
Gang Li
299ebfb812 manifest: update hal_nxp to add support for IW610
Add support for IW610

Signed-off-by: Gang Li <gang.li_1@nxp.com>
2025-06-09 14:30:04 -07:00
Chaitanya Tata
f4b58982e7 manifest: nrf_wifi: Pull TX optimization
Pull fix to free TX packets early once handed over to nRF70.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-06-09 14:29:25 -07:00
Julien Racki
31460e667a arch: arm: clear r7 to match aarch64 smp implementation
move mov r7, #0 to use it on both branches as aarch64
implementation uses wzr which returns 0 on read
but r7 might have an undefined value after a reset.

Signed-off-by: Julien Racki <julien.racki@st.com>
2025-06-09 14:28:50 -07:00
Harris Tomy
ab6c6b44f3 dts: stm32u5: Removes trailing 'U's in dt props
Integers in devicetree are always signed.
See https://github.com/zephyrproject-rtos/zephyr/pull/89978#discussion_r2124113613

signed-off-by: Harris Tomy <harristomy@gmail.com>
2025-06-09 14:26:11 -07:00
Harris Tomy
d280d89214 dts/kconfig: stm32u5: add f9 and clean up dts node locations
Adds skeleton dtsi for u5f9 for u5g9 to inherit from

Moves the peripheral nodes into dtsi's that actually has the peripheral
and includes them for SoC's higher in the series where applicable.

signed-off-by: Harris Tomy <harristomy@gmail.com>
2025-06-09 14:26:11 -07:00
Harris Tomy
97876b5d1e dts: stm32u5: add memory package variants
Corrects stm32u53/45xx variants and adds u575Xg and u599Xi

Signed-off-by: Harris Tomy <harristomy@gmail.com>
2025-06-09 14:26:11 -07:00
Fabio Baltieri
c1b36d7ea7 boards/shields: arduino: add few zephyr_i2c labels
Some of these are allegedly ESLOV connectors and have an extra
identification pin, but there's adapters on the market to use them with
qwiic modules, let's label them so they can be used with other
zephyr_i2c shields.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-06-09 14:25:20 -07:00
Fabio Baltieri
c90c2eb0ea boards: add the zephyr_i2c to a bunch of adafruit and sparkfun boards
These boards have a JST SH I2C connector, add the zephyr_i2c label so
they can be used with shields made for those modules.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-06-09 14:25:20 -07:00
Fabio Baltieri
3df8b15db7 boards: use zephyr_i2c instead of grove_i2c
These are equivalent and there's adapters on the market, having a single
label allows using it shields with any other board with connectorized
i2c busses.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-06-09 14:25:20 -07:00
Fabio Baltieri
34954d19be boards: use zephyr_i2c instead of stemmma_qt_i2c
Change the two current instances of stemma_qt_i2c to zephyr_i2c, using
an unified label allows using this in shields.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-06-09 14:25:20 -07:00
Jordan Yates
25249a010a dts: st: stm32l4p5: re-add SDMMC idma property
The `idma` property added in 94847be1 was removed in the re-organisation
in 306dea6f. Re-add the property at a more generic location.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-06-09 10:27:03 +01:00
Pieter De Gendt
e5759f469a scripts: zephyr_module.py: Take EXTRA_ZEPHYR_MODULES variable into account
When running purely with Python, the extra modules set with environment
variables are not taken into account.
If left empty, check the environment variables.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-06-09 10:26:54 +01:00
Phuc Pham
8b438d2288 tests: drivers: gpio: Add support for RZ/G2UL-SMARC
Enable GPIO driver tests for RZ/G2UL-SMARC

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2025-06-09 10:26:45 +01:00
Phuc Pham
14ab7d8494 drivers: gpio: Add support for RZ/G2UL
Add GPIO support for RZ/G2UL

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2025-06-09 10:26:45 +01:00
Phuc Pham
6c15907b7a tests: drivers: serial: Add support for Renesas RZ/G2UL-SMARC
Enable serial driver tests for RZ/G2UL-SMARC

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2025-06-09 10:26:45 +01:00
Phuc Pham
da26dbd08a drivers: pinctrl: Add support for Renesas RZ/G2UL
Add pinctrl support for Renesas RZ/G2UL

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2025-06-09 10:26:45 +01:00
Phuc Pham
82b4a05946 boards: renesas: Add minimal support for Renesas RZ/G2UL-SMARC
Add minimal support for board Renesas RZ/G2UL-SMARC

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2025-06-09 10:26:45 +01:00
Phuc Pham
872d5cfc14 dts: arm: renesas: Add support for Renesas RZ/G2UL
Add devicetree to support for Renesas RZ/G2UL

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2025-06-09 10:26:45 +01:00
Phuc Pham
adeaad5e6f soc: renesas: Add initial support for Renesas RZ/G2UL
Add initial support for Renesas RZ/G2UL

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2025-06-09 10:26:45 +01:00
Takuya Sasaki
330848cfdc dts: scobc_a1: Add FPGA related definitions
Adds SC-OBC Module A1 FPGA System Register and System Monitor
definitions to DTS.

  - System Register
    Registers for system control of SC-OBC Module A1
    Link: https://sc-obc-fpga-technical-reference-manual.readthedocs.io/ja/latest/#org19067cd

  - System Monitor
    Module for monitoring the SC-OBC Module A1 system
    Link: https://sc-obc-fpga-technical-reference-manual.readthedocs.io/ja/latest/#org8832978

Signed-off-by: Takuya Sasaki <takuya.sasaki@spacecubics.com>
2025-06-09 10:26:27 +01:00
Takuya Sasaki
cf1dc334f5 boards: scobc_a1: Fix YAMLLint error
Fixes the YAMLLint error as below:

   YAMLLint (indentation):wrong indentation: expected 4 but found 2
   File:boards/sc/scobc_a1/board.yml
   Line:12
   Column:3

Signed-off-by: Takuya Sasaki <takuya.sasaki@spacecubics.com>
2025-06-09 10:26:27 +01:00
Takuya Sasaki
3638c435af boards: scobc_a1: Change HRMEM and UART definitions
The following changes have been made in the FM (Flight Model) of the
`SC-OBC Module A1`:

  - Change in the UART Core register address
    Link: https://sc-obc-fpga-technical-reference-manual.readthedocs.io/ja/latest/#orgecb2e01

  - Change in the size of HRMEM (High-Reliability Memory)
    Link: https://sc-obc-fpga-technical-reference-manual.readthedocs.io/ja/latest/#orgc3b1ecc

As a result, we have defined the EM board revision as `1.0.0` and the
FM as `2.0.0`. The EM configuration has been moved to
`scobc_a1_1_0_0.overlay`.

Signed-off-by: Takuya Sasaki <takuya.sasaki@spacecubics.com>
2025-06-09 10:26:27 +01:00
Takuya Sasaki
bfabc50da4 boards: scobc_a1: Increase number of IRQs
Increase number of IRQs for SC-OBC Module A1 to 32, including
reserved entries.

Signed-off-by: Takuya Sasaki <takuya.sasaki@spacecubics.com>
2025-06-09 10:26:27 +01:00
Takuya Sasaki
9c97bdd373 doc: scobc_a1: Rename board name
Rename the board name to `scobc-a1`, and update the board's full name
to `SC-OBC Module A1`. And update the output of the `Hello World`
sample to match the latest Zephyr version.
Then, The supported feature section was replaced with a hw-directive
block.

Signed-off-by: Takuya Sasaki <takuya.sasaki@spacecubics.com>
2025-06-09 10:26:27 +01:00
Takuya Sasaki
479ea7a387 boards: scobc_a1: Rename board name to scobc-a1
In the EM (Engineering Model), the board was referred to as
"Space Cubics Module 1". Starting with the FM (Flight Model) release,
we are officially renaming it to:

  `SC-OBC Module A1`

Accordingly, the board name is updated from `scobc_module1` to
`scobc_a1`.

Signed-off-by: Takuya Sasaki <takuya.sasaki@spacecubics.com>
2025-06-09 10:26:27 +01:00
Fabrice DJIATSA
054efe6f7a tests: drivers: adc: adc_api: boards: turn of time slicing
set CONFIG_TIMESLICE_SIZE to 0 to disable time slicing.

Certain boards like nucleo_g071rb, nucleo_f091rc,
nucleo_l073rz will not start consecutive samplings as fast
as possible.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-06-09 10:26:03 +01:00
Jordan Yates
5f5a534445 tests: adc: adc_rescale: test adc_raw_to_microvolts_dt
Test that the output of `adc_raw_to_microvolts_dt` matches the output of
`adc_raw_to_millivolts_dt` to the resolution of the latter.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-06-09 10:25:52 +01:00
Jordan Yates
c0ca636692 adc: add microvolt conversion functions
Add a family of functions that convert to microvolts instead of
millivolts. The resolution of an ADC with a 600 mV reference and a 12
bit output (nRF SAADC for example) is an order of magnitude better than
millivolts (0.146 mV), even before considering non-unity gains.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-06-09 10:25:52 +01:00