Commit graph

16700 commits

Author SHA1 Message Date
Piotr Kosycarz
d19c940b53 tests: subsys: storage: stream: stream_flash: add tags
Missing tags.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2025-01-30 02:02:06 +01:00
Piotr Kosycarz
54370d7530 tests: kernel: timer: timer_behavior: add tags
Missing tags.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2025-01-30 02:02:06 +01:00
Nazar Palamar
fb1c9c880f drivers: serial: CAT1 UART driver: add ASYNC_API functionality
Add ASYNC_API functionality

Signed-off-by: Nazar Palamar <nazar.palamar@infineon.com>
2025-01-30 02:00:50 +01:00
Raffael Rostagno
c77daa8d64 soc: adc: esp32c2: Add support
Add ADC support to ESP32-C2 and ESP8684.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2025-01-29 20:34:20 +01:00
Raffael Rostagno
3423a6b3ba soc: adc: esp32c6: Add support
Add ADC support to ESP32-C6.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2025-01-29 20:34:08 +01:00
Gerson Fernando Budke
372b23d61f tests: dma: sam0: Fix loopback test
The current tests should fail because the DMA controller now is disabled
by default in the devicetree. This add specific configuration to enable
the DMA controller and decalre the amount of bytes to be transfered to
allow small devices not fail in the link phase.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2025-01-29 20:33:56 +01:00
Jukka Rissanen
d243bc1fdb net: Fix inet_pton IPv4 implementation
The conversion from IPv4 string presentation to numeric value
did not check if the individual address value was between 0 and 255
inclusive.

Add also test case for this.

Fixes #84593

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-01-29 17:56:09 +01:00
Benjamin Perseghetti
deeb8f86ef tests: boards: vmu_rt1170: icm42688: hardware test
Adds a test for icm42688 on vmu_rt1170.

Co-authored-by: James Goppert <james.goppert@gmail.com>
Signed-off-by: Benjamin Perseghetti <bperseghetti@rudislabs.com>
2025-01-29 15:17:44 +01:00
Emil Gydesen
d9ab2eb353 tests: Bluetooth: Tester: Add missing PACS register
PACS needs to be dynamically registered which was
missing from the BT Tester.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-01-29 12:51:57 +01:00
Derek Snell
c1e85d478c tests: drivers: i2s_speed: port test to MIMXRT1060-EVKB board
Added board support for MIMXRT1060-EVKB board.  These hardware
connections and build also pass the test on the EVKC revision.

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2025-01-29 09:28:51 +01:00
Benjamin Cabé
6fddb19463 Revert "cmake: support array of maps in yaml module"
This reverts commit f24f5288f3.
as it's part of a series of commits causing issues on Windows

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-01-29 09:27:31 +01:00
Terry Geng
cef0c1af0d tests: drivers: spi: loopback: Add test for pico-spi-pio driver
Plus refactored the structure of the overlay files.
The wiring of the new test is the same as the existing spi tests
for rpi-pico.

The speed of the fast test has to be reduced to ensure signal integrity.

Setting CONFIG_SPI_ASYNC will trigger a hard fault. Seems to be a bug in
the driver.

Signed-off-by: Terry Geng <terry@terriex.com>
2025-01-29 07:09:33 +01:00
Marcin Lyda
5100850767 drivers: rtc: Add Texas Instruments BQ32002 RTC driver
This PR adds support for BQ32002 RTC chip.

Supported functionalities:

* Time setting/reading
* Alarm setting/reading
* Calibration setting/reading
* IRQ frequency configuration

Tested on nRF52833-DK board.

Signed-off-by: Marcin Lyda <elektromarcin@gmail.com>
2025-01-29 07:08:28 +01:00
Neil Chen
0af196ef0d tests: drivers: spi: add spi test support for frdm_mcxa156 board
add spi test support for frdm_mcxa156 board

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-01-28 23:41:08 +01:00
Jukka Rissanen
4c24124654 tests: net: vlan: Increase stack size for header reserve test
Increasing the stack size for header_reserved test.
This avoids stack overflow in various boards.

Fixes #84620

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-01-28 18:15:39 +01:00
Matt Rodgers
ea6ca4e8b7 net: http_server: allow specifying a fallback resource
A _res_fallback parameter to HTTP_SERVICE_DEFINE is added to optionally
specify a fallback resource detail, which will be served if no other
resource matches the URL.

Signed-off-by: Matt Rodgers <mrodgers@witekio.com>
2025-01-28 18:14:36 +01:00
Yishai Jaffe
6686d82a7f drivers: si7006: add support for vin supply
Added support for vin supply which seems to be needed for the radio
boards in order to power on the sensor.

Signed-off-by: Yishai Jaffe <yishai1999@gmail.com>
2025-01-28 18:14:09 +01:00
Robert Lubos
5db74f23bc test: net: lib: http_server: core: Add min_flash requirement
As the test coverage keeps growing, the test suite no longer fits into
smaller devices, hence add min_flash requirement for the test suite to
filter them out.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-01-28 14:13:41 +01:00
Jukka Rissanen
475ccbb983 tests: net: ipv6: Increase stack size for variable buf test
Increasing the stack size for variable_buf_size test. This avoids
stack overflow in various boards.

Fixes #84489

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-01-28 14:13:21 +01:00
Matthias Alleman
25b66c97ee tests: drivers: build_all: input: add cy8cmbr3xxx test
Add test for cy8cmbr3xxx input driver.

Signed-off-by: Matthias Alleman <matthias.alleman@basalte.be>
2025-01-28 14:13:08 +01:00
Jamie McCrae
978f55926f tests: kernel: pipe: deprecated: Fix test wrongly passing paramater
Fix these tests so that the parameters are correctly passed to
other parts of the build

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-01-28 12:00:34 +01:00
Krzysztof Chruściński
40ebaa9a38 tests: drivers: adc: adc_accuracy_test: Add nrf54h20dk_nrf54h20_cpuppr
Add overlays for nrf54h20dk_nrf54h20_cpuppr. Moved common configuration
for nrf54h20dk to nrf54h20dk_nrf54h20_common.dtsi. Add configuration
for vpr_launcher on nrf54h20dk_nrf54h20_cpuapp.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-01-28 09:51:31 +01:00
Krzysztof Chruściński
76f9fac09e tests: drivers: adc: adc_api: Add nrf54h20dk_nrf54h20_cpuppr
Add overlays for nrf54h20dk_nrf54h20_cpuppr. Moved common configuration
for nrf54h20dk to nrf54h20dk_nrf54h20_common.dtsi. Add configuration
for vpr_launcher on nrf54h20dk_nrf54h20_cpuapp.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-01-28 09:51:31 +01:00
Piotr Kosycarz
d3539d63d8 samples: boards: nordic: coresight_stm: tag stm -> coresight_stm
Plus at tests/boards/nrf/coresight_stm.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2025-01-28 09:50:38 +01:00
Piotr Kosycarz
0d641bb828 tests: subsys: logging: log_frontend_stmesp_demux: add coresight_stm tag
coresight_stm tag.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2025-01-28 09:50:38 +01:00
Piotr Kosycarz
3f98bb2187 tests: drivers: pwm: pwm_api: add pwm tag
pwm tag.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2025-01-28 09:50:38 +01:00
Piotr Kosycarz
fd1d0d26ed tests: drivers: i2c: add i2c tag
i2c tag.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2025-01-28 09:50:38 +01:00
Piotr Kosycarz
9bda8dea23 tests: drivers: gnss: gnss_api: add gnss tag
gnss tag.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2025-01-28 09:50:38 +01:00
Piotr Kosycarz
0677afbf89 tests: drivers: adc: adc_error_cases: add adc tag
adc tag.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2025-01-28 09:50:38 +01:00
Michał Stasiak
ccd2fd6c47 tests: drivers: spi: Add support for nRF54L09 PDK
Added support for nRF54L09 PDK in SPIM twister tests.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2025-01-28 09:47:46 +01:00
Michał Stasiak
04df6de43e tests: drivers: spi: Add support for nRF54L20 PDK
Added support for nRF54L20 PDK in SPIM twister tests.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2025-01-28 09:47:46 +01:00
Raymond Lei
e8a3ca648e test: i2s: Reconfigure i2s speed test HW environment on RT1170 EVK board
Use TX and RX blocks on SAI for i2s speed test, by this way we can avoid
HW reworking.
Update Readme file and DMA channel configuration in overlay file to avoid
DMA channel conflict with other peripherals like UART.

Signed-off-by: Raymond Lei <raymond.lei@nxp.com>
2025-01-28 09:46:56 +01:00
Emil Gydesen
9688c2d43f Bluetooth: CCP: Initial CCP Client implemenation
Added initial CCP client implementation that simply
does discovery of TBS on a remote CCP server.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-01-28 09:46:39 +01:00
Khoa Nguyen
507d81dfd5 tests: drivers: uart: Add support uart test for RA4E1 boards
Add support test app uart_async_api for fpb_ra4e1 and
voice_ra4e1 boards

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-01-28 07:57:03 +01:00
Khoa Nguyen
57ec93925d tests: drivers: spi: Add support spi test for fpb_ra4e1
Add support test app spi_loopback for fpb_ra4e1 board

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-01-28 07:57:03 +01:00
Khoa Nguyen
80691b8e27 tests: drivers: pwm: Add support test pwm for RA4E1 boards
- Add overlay to support test app pwm_api for voice_ra4e1
- Add support test app pwm_loopback for fpb_ra4e1 and
voice_ra4e1 boards

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-01-28 07:57:03 +01:00
Khoa Nguyen
ced5ff2c8a tests: drivers: i2c: Add support test i2c for fpb_ra4e1
Add support test app i2c_api for fpb_ra4e1 board

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-01-28 07:57:03 +01:00
Khoa Nguyen
04694fca4e tests: drivers: flash: Add support test Flash for RA4E1 boards
Add suppport test flash/common for fpb_ra4e1 and voice_ra4e1

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-01-28 07:57:03 +01:00
Khoa Nguyen
236da292c9 tests: drivers: adc: Add support test ADC for fpb_ra4e1
Add support test adc_accuracy_test and adc_api for fpb_ra4e1

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-01-28 07:57:03 +01:00
Khoa Nguyen
436a6d8e04 tests: drivers: spi: Correct the spi node for ek_ra8d1
Currently, the SPI pinctrl is incorrect for the spi0 node.
In this PR (#77850), we changed the pinctrl number for SPI
from spi0 to spi1, but we forgot to update the node name
to spi1.
This commit aims to:
- Correct the spi node in test app spi_loopback for ek_ra8d1

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-01-28 00:04:37 +01:00
Lucien Zhao
43fe16682f tests: drivers: spi: add mimxrt700_evk support
add lpspi14 slow/fast child node
use lpspi edma way to communicate

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-01-27 21:03:26 +01:00
Hake Huang
7afb41c02b tests: dma: fix dma related cases setting for rt1060_evkc
add evkc related configs

fixes: #84441

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
2025-01-27 17:10:37 +01:00
Valerio Setti
9d0b1248ca test: Bluetooth: crypto: increase stack size for all the boards
Bring the change that was already in place for the qemu_cortex_m3 board
to all the other ones, since also nrf52840 had a similar problem
(see issue #82812).

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-01-27 17:10:21 +01:00
Szymon Janc
24abac1207 tests: Bluetooth: Tester: Improve BTP MTU validation
Make sure MTU is validated to avoid reading pass command buffer.
Also make more explicit check in response length validation.

Signed-off-by: Szymon Janc <szymon.janc@codecoup.pl>
2025-01-27 17:08:54 +01:00
Szymon Janc
aff2875d21 tests: Bluetooth: Tester: Avoid union with packed structure
This may cause some compiler warnings due to flexible array being
used in btp_hdr. Simply avoid it and do explicit pointer type cast
where needed.

Signed-off-by: Szymon Janc <szymon.janc@codecoup.pl>
2025-01-27 17:08:54 +01:00
Raffael Rostagno
ce603cdb60 boards: esp32s3_devkitc: adc: Add dts file
Add dts file to test configuration to properly compile for
esp32s3_devkitc.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2025-01-27 17:08:30 +01:00
James Roy
3d23f956f2 tests: drivers: adc: Change the property names in the overlay
Unify property names in overlay, using hyphens(-)
instead of underscores (_) as separators.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2025-01-27 17:08:15 +01:00
Hake Huang
a88e429f79 tests: fat: fat_fs_api reduce the wipe partition sectors
As SD partition tables, GPT or MBT, is positioned at
the beginning of a device, it is enough to wipe first 64 sectors,
of 512 bytes. Wipe of entire SD card is very slow and unnecessary.

fixes: #84428

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
2025-01-27 13:25:31 +01:00
Hake Huang
11ddf11f3b test: vlan: fix run exception for mimxrt1060_evk
add extra size for test

fixes: #84424

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
2025-01-27 13:25:17 +01:00
Torsten Rasmussen
f24f5288f3 cmake: support array of maps in yaml module
This commit introduce support for maps in a yaml list.

The yaml_set() function has been extended with the following signature:
> yaml_set(NAME <name> KEY <key>...
>          [APPEND] LIST MAP <map1> MAP <map2> MAP ...
> )

where a `MAP <map>` has the form:
`MAP "<key1>: <value1>, <key2>: <value2>, ...`

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2025-01-27 13:24:23 +01:00