Commit graph

118,807 commits

Author SHA1 Message Date
David Brown
1b9408bbdd submanifests: optional: Hotfox for rust trying to build on too many targets
commit c94328f3671a671ac215885c6986b0359a6a37b8
    Author: David Brown <david.brown@linaro.org>
    Date:   Fri Jan 24 23:32:21 2025 -0700

        samples: Properly filter samples by supported Rust targets

A few new samples in the Rust module were added, but missed the proper
filter and platform list, resulting in the daily twister run trying to
build these.

Signed-off-by: David Brown <david.brown@linaro.org>
2025-01-27 01:17:14 +01:00
Dominik Ermel
e8ab14d4bd manifest: Update LittleFS revision
Update LittleFS to bring in fixed module definition.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2025-01-26 20:30:56 +01:00
Ruijia Wang
f0d0264c05 manifest: hal_nxp: update NXP HAL to include support for RTWDOG driver
Update the NXP HAL revision to include support for building the RTWDOG
driver.

Signed-off-by: Ruijia Wang <ruijia.wang@nxp.com>
2025-01-25 20:07:05 +01:00
Ruijia Wang
8c9b226900 mcux: soc: rt1180 unmask reset event when rtwdog is using
RT1180 takes reset event mask feature which should be unmasked when
watch dog is enabled.

Signed-off-by: Ruijia Wang <ruijia.wang@nxp.com>
2025-01-25 20:07:05 +01:00
Ruijia Wang
b1395eabce drivers: rtwdog: add NXP rtwdog driver
Port NXP rtwdog driver to Zephyr.

Signed-off-by: Ruijia Wang <ruijia.wang@nxp.com>
2025-01-25 20:07:05 +01:00
Thomas Stranger
e643b286df drivers: bluetooth: hci: h4_ifx_cyw43xxx: add missing hci includes
Add missing bluetooth/hci.h and hci_types.h include to fix the build
error and warnings of the infineon h4 ble driver.

The driver is using bt_hci_cmd_create() and bt_hci_cmd_send_sync()
from bluetooth/hci.h, and BT_HCI_OP_RESET from bluetooth/hci_types.h

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2025-01-25 20:06:34 +01:00
Benjamin Cabé
7b1031a233 drivers: dac: rename max22017 dac binding file to max22017-dac.yaml
Avoid clashing with the existing max22017.yaml binding file used for the
MFD.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-01-25 20:06:19 +01:00
Øyvind Rønningstad
4738173276 zcbor: Improve kconfig help text
ZCBOR_CANONICAL text was outdated.

Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
2025-01-25 20:06:05 +01:00
Benjamin Cabé
6894fce411 samples: net: openthread: update README to use correct code block syntax
Update the ot-coap sample README so that code blocks have proper syntax
highlighting.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-01-25 01:41:11 +01:00
Benjamin Cabé
7c50cb4d3a samples: net: openthread: ot-coap README should not be orphan
This prevented the sample to show up properly in the sample
catalog.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-01-25 01:41:11 +01:00
Nikola Petrovic
f48d6ff762 docs: Adapt ICM42688 example to new dt option names.
Example for creating ICM42688 dt node uses old dt option names.
Fix by changing to newest dt option names.

Signed-off-by: Nikola Petrovic <nikolaptr6@gmail.com>
2025-01-25 01:40:58 +01:00
Nicolas Pitre
3075a7d906 ring_buffer: factorize almost identical code
Factorize almost identical code. May even improve performance due to
CPU cache locality.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2025-01-25 01:40:03 +01:00
Nicolas Pitre
83279d1524 ring_buffer: optimize the partial buffer loop
It is more efficient to break early when size of claimed area becomes zero.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2025-01-25 01:40:03 +01:00
Nicolas Pitre
67978f8ffc ring_buffer: delete redundant code
No need to clamp requested size as ring_buf_get_claim() does it already.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2025-01-25 01:40:03 +01:00
David Brown
92c5284608 submanifests: optional: Update zephyr-lang-rust
Move to the latest version:

    commit f82407c13059528e88bfcc892a488504e9caa80c
    Author: David Brown <david.brown@linaro.org>
    Date:   Thu Jan 16 17:05:59 2025 -0700

This brings in numerous features to the rust support including:

  - Simple logging through Zephyr's logging
  - Mutex/Condvar (k_mutex, k_condvar), Semaphores (k_sem), and Queue
    (k_queue)
  - A rust interface to timers, both waiting for events and callback based
  - A SpinMutex that protects data in a rust safe way using a spinlock
  - Some documentation for the rust support.  Documentation is generated,
    per-pr, on the module to allow preview
  - A dining philosopher sample that implements using several different
    mechanism.
  - Basic device support.  The device tree is imported into Rust, with a
    yaml file describing the association between DT nodes and devices.
  - Basic interface to GPIO and flash devices.

Signed-off-by: David Brown <david.brown@linaro.org>
2025-01-25 01:38:00 +01:00
Hake Huang
5b9064c290 boards: mimxrt1060_evkc : update linkserver config
update linkserver config for evkc

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
2025-01-24 22:09:47 +01:00
Andrej Butok
66df94b618 boards: mimxrt1180: fix MCUBoot build
- Fixes building of MCUBoot for mimxrt1180-evk.
- Disables RT Boot header for MCUBoot applications.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2025-01-24 22:09:30 +01:00
Declan Snyder
e1f578325d dts: i2s_mcux_sai: Clarify IOMUXC GPR binding
Improve the documentation of the IOMUXC GPR binding so that it is
clear what the cells in the specifier space of "pinmux" space mean. And
change the names of the cells to be more appropriate. "offset" instead
of "pin" and "mask" instead of "function" describes more precisely what
the cells in the specifier mean.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-01-24 22:09:15 +01:00
Filip Kokosinski
f40f58caa5 boards/antmicro/myra_sip_baseboard: update board image
This commit updates the Myra SiP Baseboard board.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2025-01-24 22:08:51 +01:00
Gerson Fernando Budke
5d7fbd35c1 boards: atmel: sam4l: Add watchdog
Enable sam4l_ek board on watchdog tests.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2025-01-24 22:08:29 +01:00
Gerson Fernando Budke
4979012af0 tests: watchdog: sam: Disnable Atmel SAM4L
The Atmel SAM is currently disabled from watchdog tests due to missing
SAM4L driver. However, the tests do not implement wdt_disable, which is
mandatory for SAM4L to work correctly. This disable the SAM4L platform
until the watchdog API tests are fixed.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2025-01-24 22:08:29 +01:00
Gerson Fernando Budke
0cf7fd1023 drivers: watchdog: atmel: Introduce sam4l wdt
Introduce sam4l watchdog configuration. This entry is necessary to
select proper watchdog configuration at board init due to #83429.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2025-01-24 22:08:29 +01:00
Gerson Fernando Budke
abee6d5381 dts: watchdog: atmel: Add sam4l-watchdog
Introduce sam4l-watchdog binding.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2025-01-24 22:08:29 +01:00
Andreas Klinger
441112f8c8 dts: stm32-pinctrl.yaml: remove calculation of pinmux
- remove calculation of pinmux value for stm32 in device tree binding
  documentation.
- stm32-pinctrl.yaml contains wrong calculation as can be compared to
  #define STM32_PINMUX in stm32-pinctrl.h.
- stm32f1-pinctrl.yaml also contains different wrong calculation
  compared to #define STM32F1_PINMUX in stm32f1-pinctrl.h.

Signed-off-by: Andreas Klinger <ak@it-klinger.de>
2025-01-24 19:17:18 +01:00
Michał Stasiak
a0303d3c4b tests: drivers: watchdog: Add further support for nRF54L09 PDK.
Added further support for nRF54L09 PDK in watchdog twister
tests.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2025-01-24 19:17:06 +01:00
Dominik Ermel
e8589d232b modules: mbedtls: Provide CONFIG_MBEDTLS_ASN1_PARSE_C
The commit exports control of MBEDTLS_ASN1_PARSE_C, in mbedTLS
module, via Kconfig.
This allows applications to use ASN1 parser independently from
other functions.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2025-01-24 19:16:55 +01:00
Francesco Domenico Servidio
5cd3817e33 doc: Updated nRF54H20 DK docs
Updated nRF54H20 DK documentation.

Signed-off-by: Francesco Domenico Servidio <francesco.servidio@nordicsemi.no>
2025-01-24 19:16:46 +01:00
Abderrahmane JARMOUNI
1005dbae46 tests: drivers: flash: fix build error
delete already defined storage_partition node in board DTS, in order to
be able to build test with included overlay

Signed-off-by: Abderrahmane JARMOUNI <git@jarmouni.me>
2025-01-24 19:16:28 +01:00
Abderrahmane JARMOUNI
ea42b708b3 boards: stm32h750b-dk: add memory partitions for mcuboot
Add memory partitions for mcuboot and storage

Signed-off-by: Abderrahmane JARMOUNI <git@jarmouni.me>
2025-01-24 19:16:28 +01:00
Wajdi ELMuhtadi
4068d41d4b drivers: sensor: wsen_tids_2521020222501: add sensor driver
Add wsen_tids_2521020222501 driver with
the corrected name and compatibility with
the hal update as well as added new features.

Signed-off-by: Wajdi ELMuhtadi <wajdi.elmuhtadi@we-online.com>
2025-01-24 19:16:17 +01:00
Sudan Landge
c48c15e159 Revert "boards: mps3_corstone300_fvp_ns: disable twister"
What is changed?
 - This reverts commit 1c596b8b77.

Why is this change needed?
 - This commit was added as a temporary fix for #81656.
   Since the previous commit (part of #83360) fixes the issue,
   we don't need this anymore.

Signed-off-by: Sudan Landge <sudan.landge@arm.com>
2025-01-24 19:16:08 +01:00
Sudan Landge
9b0623e63a modules: avoid fetching external repo in TF-M
What is changed?
 - Use the updated TF-M that is compatible with the Zephyr's
   latest Ethos-U driver repo.
 - Change the default behavior of TF-M builds to use Ethos driver
   locally fetched by Zephyr, using west update, instead of
   downloading it from external repo.

Why is this change required?
 - This is to be inline with Zephyr's rules to not fetch code from
   external repo.

Fixes #81656

Signed-off-by: Sudan Landge <sudan.landge@arm.com>
2025-01-24 19:16:08 +01:00
Jiafei Pan
ab25fdf1a9 boards: imx8mp_evk: add i2c support
Added i2c3 support on imx8mp_evk A53 board.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-01-24 19:15:57 +01:00
Jiafei Pan
95e7a08570 dts: arm64: imx8mp: add i2c dts nodes
Add I2C dts nodes for imx8mp Cortex-A Core platform.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-01-24 19:15:57 +01:00
Jiafei Pan
75301887e3 drivers: clock_control: mcux_ccm: add ii2c clock support
Add I2C clock support for imx8m platforms.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-01-24 19:15:57 +01:00
Jiafei Pan
b97c1d7999 drivers: i2c: add NXP i2c driver used on imx8m platforms
This native i2c driver works together with ii2c drive in hal_nxp.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-01-24 19:15:57 +01:00
Jiafei Pan
5ccbcc74f4 west.yml: update hal_nxp to include ii2c hal driver
Updated to include ii2c hal driver update commit:
be4d59d9c84e9519f3c05645f410b6dd63aeac4f

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-01-24 19:15:57 +01:00
Alain Volmat
749252e34a board: st: add joystick support on stm32l4r9i_disco
Add nodes describing the joystick arrows wired to the MFX
gpio controller.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-01-24 19:15:46 +01:00
Alain Volmat
03ab40fca7 board: st: add description of orange led on stm32l4r9i_disco
The stm32l4r9i_disco has a 2nd LED (Orange) which can be controlled
via the mfx gpio controller.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-01-24 19:15:46 +01:00
Alain Volmat
be295692e2 board: st: add mfx based gpio into the stm32l4r9i_disco
Add node for the mfx gpio controller available via the i2c1 bus.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-01-24 19:15:46 +01:00
Alain Volmat
5d6101ec4b driver: gpio: mfxstm32l152: add driver for STM32L152 based MFX
Initial commit for a STM32L152 based GPIO expansion chip.
The mfxstm32l152 driver offers GPIO controller fonctions.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-01-24 19:15:46 +01:00
Fabio Baltieri
35abb31284 i2c_shell: add missing i3c include
This is necessary for the I3C device type check, tested with:

west build -p -b nucleo_h563zi samples/subsys/shell/shell_module
-DCONFIG_I2C=y -DCONFIG_I2C_SHELL=y -DCONFIG_I3C=y

and

west build -p -b nucleo_h563zi samples/subsys/shell/shell_module
-DCONFIG_I2C=y -DCONFIG_I2C_SHELL=y -DCONFIG_I3C=n

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-01-24 15:43:33 +01:00
Krzysztof Chruściński
9b2532ab43 logging: frontends: stmesp: Fix logging single argument log twice
Macro was missing a break when single argument with non 32 bit
word argument was detect. Because of that, there were two
logging messages created for a single log entry.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-01-24 15:43:19 +01:00
Mayank Narang
cb608812cf drivers: sensor: lis2de12: add length check in spi write incr routine
Added a length check in the spi write incr routine to handle both
single and multi byte write operations properly.

Signed-off-by: Mayank Narang <narang.may77@gmail.com>
2025-01-24 15:42:21 +01:00
Mayank Narang
7b062f5b09 drivers: sensor: lis2de12: fix read accel via spi
The lis2de12 sensor driver spi interface was calling spi read api.
This leads to a single byte operation on reading acceleration data
which is a multi byte operation. Fix it by adding a call to spi read
incr api instead. Added a length check to handle both single and multi
byte read properly.

Signed-off-by: Mayank Narang <narang.may77@gmail.com>
2025-01-24 15:42:21 +01:00
Matthias Hauser
543864321c drivers: nrfx: Avoid unhandled event calling assert function
Avoid unhandled event calling assert function

Signed-off-by: Matthias Hauser <matthias.hauser@we-online.de>
2025-01-24 15:42:07 +01:00
Fredrik Gihl
3a07f6d7dd driver: sensor: tmp116: adjust yaml to render nicer in documentation
Adjust detail description of ODR to contain documentation about
valid values.

Signed-off-by: Fredrik Gihl <fgihl@hotmail.com>
2025-01-24 15:41:50 +01:00
Fredrik Gihl
904089ddc5 driver: sensor: tmp116: oversample attribute
Add oversample attribute

Signed-off-by: Fredrik Gihl <fgihl@hotmail.com>
2025-01-24 15:41:50 +01:00
Janel Kratky
62c7eab9bc boards: adi: apard32690: Updated References index.rst
Updated the reference to the ADI Developer Portal Solution Center with
URL. The Solution Center provides more resources than the product
information. Users can still find the product information from the new
portal link.

Signed-off-by: Janel Kratky <janel.kratky@analog.com>
2025-01-24 15:41:30 +01:00
Janel Kratky
83739d2dd4 boards: adi: max32690fthr: Updated References index.rst
Updated the reference to the ADI Developer Portal Solution Center with
URL. The Solution Center provides more resources than the product
information. Users can still find the product information from the new
portal link.

Signed-off-by: Janel Kratky <janel.kratky@analog.com>
2025-01-24 15:41:20 +01:00