Commit graph

126,787 commits

Author SHA1 Message Date
Andrei Menzopol
17cc683c4e samples: echo_client echo_server: update tests
Group openthread tests under the same case and add frdm_mcxw71.

Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com>
2025-02-14 03:08:48 +01:00
Andrei Menzopol
e6be77bc1d samples: echo_client echo_server: add frdm_mcxw7 board overlays
Add frdm_mcxw7 board conf and overlay files for echo_client and
echo_server sample applications.

Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com>
2025-02-14 03:08:48 +01:00
Andrei Menzopol
50de97fedb soc: nxp: mcxw: update conditions to account for ieee driver
Add ram section for ieee driver.
Use config for ieee driver.

Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com>
2025-02-14 03:08:48 +01:00
Andrei Menzopol
e9cdc6e776 dts: nxp: add ieee and trng bindings and nodes
Add ieee802154 and trng bindings and nodes

Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com>
2025-02-14 03:08:48 +01:00
Andrei Menzopol
f7167ed606 drivers: ieee802154: add mcxw ieee802154 driver
Add mcxw ieee802154 driver
Fix compliance errors for added files.
Update function names to snake_case style.

Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com>
2025-02-14 03:08:48 +01:00
Andrei Menzopol
b897d2a1e3 drivers: entropy: add nxp ele trng
Add NXP ELE TRNG driver

Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com>
2025-02-14 03:08:48 +01:00
Benjamin Cabé
8d253b78a1 tests: show thread_metric Kconfig menu first
Put the thread_metric Kconfig menu first in the Kconfig "homepage", like
other samples and tests typically do as this makes it easier to quickly
get to the relevant options in menuconfig.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-02-14 03:04:35 +01:00
Shan Pen
6584862897 doc: fixes minor typo in ../sensor/triggers.rst
not sure "micro controller" is a typo.
Happy to update it if needed,
or feel free to close this. Thanks for your work!

Signed-off-by: Shan Pen <bricle031@gmail.com>
2025-02-14 03:04:11 +01:00
Marcin Lyda
f370d38363 drivers: rtc: Add Maxim DS1337 RTC driver
This PR adds support for Maxim Integrated
DS1337 RTC chip.

Supported functionalities:
* Alarm interrupt (both alarms trigger INTA pin)
* Time setting/reading
* Both alarms setting/reading
* SQW frequency configuration

Tested on nRF52833-DK using rtc_api test set.

Signed-off-by: Marcin Lyda <elektromarcin@gmail.com>
2025-02-14 03:03:56 +01:00
Yangbo Lu
2d72d7df7b boards: nxp: mimxrt1180_evk: enable NETC PSI0 for M7
Enabled NETC PSI0 for M7 via common board dtsi.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-02-14 03:03:38 +01:00
Yangbo Lu
c348e03bb2 boards: nxp: mimxrt1180_evk: convert to use hyperram and flash for M7
Converted to use hyperram and flash for M7.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-02-14 03:03:38 +01:00
Yangbo Lu
ccc21a082e dts: arm: nxp: add M7 ITCM/DTCM region into linker
Added M7 ITCM/DTCM region into linker.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-02-14 03:03:38 +01:00
Camille BAUD
637686695c sensor: Introduce Phosense XBR818 Driver
This Introduces a driver for the i2c interface of Phosense XBR818.
XBR818 is a 10.525Ghz Radar chip with builtin detection algorithm.

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-02-14 03:03:22 +01:00
Martino Facchin
d720fd7279 portenta_h7: fix dangerous misconfiguration
Selecting the wrong power scheme could potentially destroy the board.
Luckily, the bit can only be set once and the default build still
uses the Arduino bootloader (which has the correct setting).

Signed-off-by: Martino Facchin <m.facchin@arduino.cc>
2025-02-14 03:03:10 +01:00
Martino Facchin
8f8fb147db portenta_h7: enable ethernet driver
On older Portenta H7, 1V2 power rail must be enabled
to get a functional ethernet phy.

Signed-off-by: Martino Facchin <m.facchin@arduino.cc>
2025-02-14 03:03:10 +01:00
Martino Facchin
8c9af42a63 portenta_h7: enable onboard regulator
Enable PF1550 PMIC for Arduino Portenta H7

Signed-off-by: Martino Facchin <m.facchin@arduino.cc>
2025-02-14 03:03:10 +01:00
Martino Facchin
efe3bf5b29 drivers: add nxp pf1550 mfd (charger+regulator)
Add driver for nxp pf1550 PMIC

Signed-off-by: Martino Facchin <m.facchin@arduino.cc>
2025-02-14 03:03:10 +01:00
Sylvain Chouleur
4454734d12 scripts: code_relocate: support section filter
One might want to select the symbols to be relocated inside a file or
a library. To do this, one can use the FILTER argument of
zephyr_code_relocate which must contain a regular expression of the
section names to be selected for relocation.

The test_function_in_sram2 test case in
`tests/application_development/code_relocation` has been updated to
verify that only one function `function_in_sram()` is relocated to ram
and that the function `function_not_relocated()` is not being relocated
when using relocation filter.

Signed-off-by: Sylvain Chouleur <sylvain.chouleur@gmail.com>
Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2025-02-14 03:02:56 +01:00
Torsten Rasmussen
cb8f99ab7a cmake: code relocation setting.
With code relocation directives passed to the gen_relocate_app.py script
using generated file, then each directive can be place on individual
line in the file and thus free up the `|` character as separator.

Furthermore, a multi-line file with each directive on separate line is
also more user-readable, making debugging easier.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2025-02-14 03:02:56 +01:00
Ryan McClelland
ed9c6d84a9 tests: drivers: build_all: add build for i3c_dw
The Synopsys I3C has no in-tree board with it to built with. This
adds a test build-only for the cadence i3c peripheral attaching
with the qemu_cortex_m3 board as that appears to be generic
enough.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2025-02-14 03:02:43 +01:00
Ryan McClelland
534c4148a9 drivers: i3c: add snps_designware_i3c to i3c shell
add the synopsys designware i3c to the i3c shell.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2025-02-14 03:02:43 +01:00
Ryan McClelland
e9ea97e92d drivers: i3c: add synopsys designware i3c driver
Add synopsys designware i3c driver

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2025-02-14 03:02:43 +01:00
Bjarki Arge Andreasen
846b468715 samples: drivers: i2c: rtio_loopback: add fixture
Add i2c_bus_short fixture to the rtio_loopback sample to ensure it
is only run on boards with the bus shorted. The i2c_bus_short
fixture is also used in the i2c_target_api test suite.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-02-14 00:47:34 +01:00
Andrew Davis
4bd4528ada soc: ti: k3: am6x: m4: Enable FPU support for M4F cores
The M4 cores found in TI AM6x SoCs have FPUs, enable this in
the default configuration.

Signed-off-by: Andrew Davis <afd@ti.com>
2025-02-14 00:47:19 +01:00
Furkan Akkiz
d256a90a54 tests: drivers: dma: Enable dma driver tests for max32662evkit board
Enable 'chan_blen_transfer' and 'loop_transfer' tests for MAX32662EVKIT.

Signed-off-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
2025-02-14 00:47:03 +01:00
Mert Ekren
540b3543f4 tests: drivers: dma: Add MAX32666FTHR
Enable DMA test for MAX32666FTHR board for tests chan_blen_transfer and
loop transfer

Signed-off-by: Mert Ekren <mert.ekren@analog.com>
Signed-off-by: Yasin Ustuner <Yasin.Ustuner@analog.com>
Signed-off-by: Maureen Helm <maureen.helm@analog.com>
2025-02-14 00:47:03 +01:00
Furkan Akkiz
0399d892e9 tests: drivers: dma: Enable dma driver tests for max32666evkit board
Enable dma driver tests for MAX32666EVKIT

Signed-off-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
Signed-off-by: Yasin Ustuner <Yasin.Ustuner@analog.com>
Signed-off-by: Maureen Helm <maureen.helm@analog.com>
2025-02-14 00:47:03 +01:00
Adam Kondraciuk
85282d604c tests: kernel: gen_isr_table: Fix kernel test for nRF FLPR target
Fix kernel `gen_isr_table` test for nRF FLPR target similairly
to PPR target.

Signed-off-by: Adam Kondraciuk <adam.kondraciuk@nordicsemi.no>
2025-02-14 00:46:35 +01:00
Emanuele Di Santo
5c2c354f73 tests: kernel: gen_isr_table: update test for nRF91x1 devices
Limit the number of IRQ for all series nRF91 devices,
including nRF9161 and nRF9151.

Signed-off-by: Emanuele Di Santo <emdi@nordicsemi.no>
2025-02-14 00:46:19 +01:00
Andrej Butok
95b74e2b97 boards: mimxrt1170_evk: switch the default revision to B
Switches the default revision of mimxrt1170_evk from A to B.
Customers can only purchase MIMXRT1170-EVKB.
Revision "A" is obsolete and unavailable.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2025-02-14 00:46:02 +01:00
Wilfried Chauveau
d88575b5f8 arch: arm: cortex_a_r: move exit_exc from vector_table.S to exc.S
It makes more sense to keep the exit_exc code close to the exc code.

Signed-off-by: Wilfried Chauveau <wilfried.chauveau@arm.com>
2025-02-14 00:45:35 +01:00
Lucien Zhao
7ac0496741 tests: driver: adc: support adc_api case for mimxrt700_evk
support lpadc0 channel0/1 on cm33_cpu0/1 cores
test passed on adc_api case

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-02-14 00:45:15 +01:00
Lucien Zhao
a2c4f874c5 boards: nxp: mimxrt700_evk: add lpadc0 support
add lpadc0 channel 0/1 pin configuration
set lpadc0 status as ok for cm33_cpu0/1

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-02-14 00:45:15 +01:00
Lucien Zhao
fff407d2f6 dts: arm: nxp: add adc instances for RT700
RT700 CM33_CPU0/CPU1 both can access the lpadc0 instance

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-02-14 00:45:15 +01:00
Steven Chang
7b3596faaa driver: gpio: ene_kb1200 gpio initial level
Change initial level from POST_KERNEL to PRE_LERNEL_1,
Config suport voltage and driving flags

Signed-off-by: Steven Chang <steven@ene.com.tw>
2025-02-14 00:44:57 +01:00
Tomi Fontanilles
0c368e85b1 secure_storage: add a global registry header file for PSA key IDs
We need to make sure that within Zephyr different users of the PSA APIs
don't interfere with each other because of using the same numerical IDs
for persistent assets.

This takes care of the PSA key IDs when using persistent keys through
the PSA Crypto API.
See the comments in `<zephyr/psa/key_ids.h>` for more information.

This removes the recently-introduced Kconfig options that allowed changing
the base IDs subsystems were using for their persistent keys.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2025-02-13 20:22:09 +01:00
Gerard Marull-Paretas
71d663dafc tests: kernel: gen_isr_table: exclude nrf9280pdk/nrf9280/cpuppr
First, SoC is not supported, but when I tried to add it, build results
in RAM overflow of ~10K. Excluding the platform for now, so CI is happy.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2025-02-13 20:21:51 +01:00
Gerard Marull-Paretas
8b851ad990 dts: nordic: nrf9280: drop can120/121 nodes
CAN is not ready yet for this platform (clock control drivers). So
remove the nodes for now.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2025-02-13 20:21:51 +01:00
Gerard Marull-Paretas
2512d3d57e boards: nrf9280pdk: remove can enablement
CAN is not supported yet, so remove it from the board for now.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2025-02-13 20:21:51 +01:00
Benjamin Cabé
b1803eaf8f boards: Remove 'xtools' toolchain variant references (take 2)
A follow-up to commit fe87abe0b9
This addresses boards that had pending pull requests
at the time the initial clean-up was done.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-02-13 20:13:55 +01:00
Yangbo Lu
62a08e7961 drivers: ethernet: nxp_imx_netc: fix dt parsing of dsa port connection
Wrong functions were used for dsa port connection dt parsing.
Fixed it.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-02-13 20:13:25 +01:00
Sylvio Alves
774730e06a drivers: video: use correct return error
Build fails due to wrong variable used in log output.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-02-13 20:13:05 +01:00
Mariusz Skamra
29975452ef modules: liblc3: Bump to 1.1.2
Bump up liblc3 to the 1.1.2

Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
2025-02-13 20:12:43 +01:00
Robert Lubos
1bf536eb10 modules: Update uoscore-uedhoc revision to the latest
Pull latest revision of the uoscore-uedhoc module and align
corresponding CMake file with the changes.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-02-13 20:12:18 +01:00
Guillaume Gautier
5415e8e4a6 tests: drivers: can: add stm32n6 boards overlays
Add CAN test overlays for Nucleo N657x0-Q and STM32N6570 DK boards.
Userspace needs to be disabled for the tests to pass.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-02-13 20:11:30 +01:00
Guillaume Gautier
05657bc52f boards: st: stm32n6: enable fdcan for stm32n6 boards
Enable FDCAN for Nucleo N657x0-Q and STM32N6570 DK boards.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-02-13 20:11:30 +01:00
Guillaume Gautier
b3a8de4a60 dts: arm: st: n6: add fdcan
Add FDCAN support to STM32N6

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-02-13 20:11:30 +01:00
Jilay Pandya
bfa712c375 MAINTAINERS: add stepper samples to stepper area
Add newly added samples/drivers/stepper folder to Stepper area

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2025-02-13 20:11:11 +01:00
Jilay Pandya
93b53efbe3 samples: stepper: add tmc50xx sample
Add a minimal tmc50xx sample with spi interface

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2025-02-13 20:11:11 +01:00
Axel Le Bourhis
2c25211ede mcxw72_evk: document NBU BLE firmware flashing procedure
Document the flashing procedure of the NBU BLE firmware, fetched by
west blobs.

Signed-off-by: Axel Le Bourhis <axel.lebourhis@nxp.com>
2025-02-13 20:10:51 +01:00