Commit graph

375 commits

Author SHA1 Message Date
Valerio Setti
f960db846c modules: mbedtls: rename MBEDTLS_TLS_VERSION_1_2
Align Kconfig name to the Mbed TLS build symbol.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-10-24 13:27:59 -04:00
Riadh Ghaddab
ac3e7cb6da tests: boards: nrf: add rram_throttling test
Verifies that the throttling is working for boards that enable
CONFIG_SOC_FLASH_NRF_THROTTLING

Signed-off-by: Riadh Ghaddab <riadh.ghaddab@nordicsemi.no>
2025-10-23 17:52:08 +02:00
Marcio Ribeiro
1a31b0a513 tests: boards: esp32: add simplified i2s test
Adds simplified i2s test for the following platforms:
- esp32_devkitc/esp32/procpu
- esp32s2_saola

Signed-off-by: Marcio Ribeiro <marcio.ribeiro@espressif.com>
2025-10-20 11:52:31 +02:00
Sebastian Głąb
9ff2c0ff9d tests: boards: nrf: hwinfo: Add latest reset causes
Reset cause API was expanded with two more reset causes.
These are RESET_BOOTLOADER and RESET_FLASH.

Add handling of RESET_BOOTLOADER and RESET_FLASH to reset_cause test.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-10-17 11:18:08 +02:00
Sebastian Głąb
3d56c2f8f8 tests: boards: nrf: coresight_stm: Align test to STM driver
There were recent changes to nrf54h20dk and STM driver.
Align test accordingly:
- add Kconfig that boots Radio core,
- update expected timing results.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-10-10 12:53:40 -04:00
Alberto Escolar Piedras
972d5e35a7 Revert "tests native_sim reset_hw_info: Skip by now"
This reverts commit 8d7c2e115a.
The issue should be fixed now.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-10-07 23:01:38 -04:00
Jakub Zymelka
6d7f429369 tests: comparator: nordic: Align boards overlays for changed input types
Align samples and tests boards overlays
for changed comparator input types.

Signed-off-by: Jakub Zymelka <jakub.zymelka@nordicsemi.no>
2025-10-07 22:58:20 -04:00
Krzysztof Chruściński
5a588f1b99 tests: boards: nrf: dmm: Skip stress test for empty memory region
Skip stress test if null memory region. That's the case if DMM is
disabled.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-10-06 20:02:37 +03:00
Marek Matej
134042c014 tests,samples: boards: espressif: add missing psram0 node
Add missing psram0 node which is used to determine the memory size.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2025-10-01 17:21:07 +03:00
Alberto Escolar Piedras
8d7c2e115a tests native_sim reset_hw_info: Skip by now
This tests is failing in CI and at random locally.
While we understand why and how to fix it, let's disable it.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-09-30 09:49:36 +02:00
Daniel Leung
ed0b5605d4 tests: boards: intel_adsp/smoke: update to use new IPC API
This updates the Intel Audio DSP smoke test to use the new
IPC API based on IPC message service. The old API is still
being tested for now until all users of the old API has
moved to the new one.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2025-09-29 12:42:00 -04:00
Daniel Leung
ec28731c39 tests: boards: intel_adsp/smoke: adds ACE boards
This adds ACE boards to the allowed platforms so they can
be tested.

Note that this only adds boards that I have tested to run
correctly with the tests.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2025-09-29 12:42:00 -04:00
Daniel Leung
6a72cc5435 tests: boards: intel_adsp/smoke: threshold for CPU timing test
The 4th CPU test tries to gauge tight loop performance. However,
it has been observed occasionally that the calculated would go
over just a bit. The threshold was 3, and the observed ratio
has been bouncing between 2.9 and 3.1. So up the threshold
a little bit to account for that.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2025-09-29 12:42:00 -04:00
Daniel Leung
2afa46d84b tests: boards: intel_adsp/smoke: no CPU halt for ACE
On ACE, the CPU halting requires the cooperation of the PM
subsys to set the CPU to SOFT_OFF. The mechanism has not
been implemented in the smoke test. So skip the halting test
on ACE for now.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2025-09-29 12:42:00 -04:00
Daniel Leung
ae8ab19dcf tests: boards: intel_adsp/smoke: remove IPC for CPU test
The IPC is only needed for old hardware earlier than CAVS 2.5.
They are no longer supported in the tree as their board configs
have been removed. So there is no need to do IPC anymore.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2025-09-29 12:42:00 -04:00
Daniel Leung
28a0d90b46 tests: boards/intel_adsp/smoke: remove IPM test
This removes the IPM test from the intel_adsp smoke test.
The IPM driver is not being used by SOF and is there simply
for this test. The host IPC functionality is also being tested
via test_host_ipc. The additional usage of mailbox in the test
does not provide much value since the mailbox is shared memory
between the DSP and the host. We would have bigger problems if
the shared memory does not work properly.

Removing the test is in preparation to removing the CAVS host
IPM driver. That is also a preparation to rewrite the host IPC
driver to the IPC API, and there is no need to maintain
another host IPC driver that is not used by SOF.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2025-09-29 12:42:00 -04:00
Alberto Escolar Piedras
9669cc3402 board native_sim: Test sys_reboot and hw_info reporting the reset cause
Add a test of the CONFIG_NATIVE_SIM_REBOOT functionality together
with the hw_info get_reset_cause() logic.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-09-29 12:37:47 -04:00
Krzysztof Chruściński
c02f904a57 tests: boards: nrf: dmm: Add stress test
Add stress test which validates that allocator is thread safe
and has no memory leaks.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-09-29 12:36:47 -04:00
Krzysztof Chruściński
3d3104207c tests: boards: nrf: dmm: Extend test coverage
Extended test to check usage stats and longer buffer alloc.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-09-29 12:36:47 -04:00
Krzysztof Chruściński
8cc4da31ca tests: boards: nrf: dmm: Align test to changes in DMM
Align to API changes.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-09-29 12:36:47 -04:00
Krzysztof Chruściński
f06e05097f tests: boards: nrf: dmm: Add timing measurements
Add timing measurement to the test to allow DMM profiling.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-09-29 12:36:47 -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
Manoj Purushothama
ce828abc98 tests: boards: nrf: qdec: Fix Arduino typo
Fix the typo in the comments

Signed-off-by: Manoj Purushothama <hpmanoj@umich.edu>
2025-09-24 19:20:28 -04:00
Michał Bainczyk
39f1085beb tests: boards: nrf: qdec: Fix test for nRF54L15
Added additional cleanups between tests, which fixed the issue
of a failing testcase on nRF54L15.

Signed-off-by: Michał Bainczyk <michal.bainczyk@nordicsemi.no>
2025-09-24 11:29:19 +01:00
Michał Bainczyk
327bbc70af tests: boards: nrf: qdec: Fix test for multiple instances
- Fixed pin configuration for nRF54L15 (QDECs can use only port 1)
- Changed the way the test handles testing multiple instances
  to make it possible to output quadrature signal to one QDEC
  instance at a time.

Signed-off-by: Michał Bainczyk <michal.bainczyk@nordicsemi.no>
2025-09-24 11:29:19 +01:00
Marek Matej
ccf27a9701 tests: boards: espressif: Nested IRQ
Add test suite to test nested interrupts on ESP32 Xtensa targets.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2025-09-19 08:29:49 -04:00
Kyle Micallef Bonnici
396bde4068 devicetree: format files in tests/boards/nrf
Applying dts-linter results for files in

tests/boards/nrf

Signed-off-by: Kyle Micallef Bonnici <kylebonnici@hotmail.com>
2025-09-08 10:28:48 +01:00
Kyle Micallef Bonnici
639264205d devicetree: format files in tests/boards/mec172xevb_assy6906
Applying dts-linter results for files in

tests/boards/mec172xevb_assy6906

Signed-off-by: Kyle Micallef Bonnici <kylebonnici@hotmail.com>
2025-09-08 10:28:48 +01:00
Kyle Micallef Bonnici
776e00b79d devicetree: format files in tests/boards/mec15xxevb_assy6853
Applying dts-linter results for files in

tests/boards/mec15xxevb_assy6853

Signed-off-by: Kyle Micallef Bonnici <kylebonnici@hotmail.com>
2025-09-08 10:28:48 +01:00
Benjamin Cabé
0132ea07fb doc: fix spelling errors tree-wide
fix some spelling errors in code comments and Kconfig helps

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-03 17:04:13 +02:00
Raffael Rostagno
c7a295b068 tests: clock: esp32h2: Add testcase
Render test settings more generic regarding clock options, in order
to better support new devices. Add ESP32-H2 testcase to rtc_clk suite.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2025-08-26 22:07:36 +02:00
Jamie McCrae
db8f991c77 kconfig: Use $(...) instead of ${...} for getting variables
Updates this to comply with the Zephyr Kconfig recommendations

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-08-20 12:05:41 +02:00
Khoa Nguyen
538fca94ee tests: boards: renesas: elc: Add support test app elc for ek_ra4c1
Add support test app ``renesas/elc`` for Renesas ek_ra4c1 board

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-08-19 13:02:29 +02:00
Piotr Kosycarz
8d5823d814 tests: boards: nrf: xip: extend timeout
Flashing ext flash is long.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2025-08-12 21:30:55 +02:00
Chaitanya Tata
52bf8fbf61 tests: nrf70: bustest: Add more QSPI tests
Add tests based on QSPI command register, this is the entry point even
before we test nRF70 internal memories.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-08-01 07:47:59 -04:00
Luis Ubieda
2d589fda85 boards: vmu_rt1170: Update dts to reflect the second IMU being ICM42686
Additionally, remove overlay from sensor-shell sample, which is
redundant.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-07-25 23:28:47 +02:00
Nikodem Kastelik
20efb9edbb tests: nrf: comp: fix VDD reference dependency
Some SoCs might not have any VDD reference available.
Use internal 1.2V reference derived from VDD in this case.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
2025-07-25 08:20:09 -04:00
Jonathan Nilsen
38e60025b0 boards: nordic: nrf54h20dk: refactor RAM memory map
Refactor the default RAM memory map on nrf54h20dk:

Removes use of "nordic,owned-memory" which is no longer needed on
nrf54h20. Reserved memory nodes that were under "nordic,owned-memory"
have been moved directly under reserved-memory.

The memory shared between cpuapp-cpusec and cpurad-cpusec in RAM0x
is no longer used with IronSide, since IPC buffers toward the secure
domain are at new fixed locations. The cpuapp_data region
has been expanded to fill the available space in RAM0x when removing
these shared memory regions.

Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
2025-07-24 16:57:45 +01:00
Grzegorz Swiderski
b4c18e8999 boards: nrf54h20dk: Merge iron variants into the base variants
This replaces the legacy SDFW compatible board configuration with the
IronSide SE compatible one, thus removing support for running samples
and tests on nRF54H20 devices with the old firmware.

All applications are expected to work on `nrf54h20dk/nrf54h20/cpuapp`
out of the box. For other board targets, all applications are expected
to boot, but may require additional peripheral configuration in UICR.
Build system support for the new UICR format is to be added separately.

Co-authored-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2025-07-24 16:57:45 +01:00
Grzegorz Swiderski
559ace1cdf tests: boards: nrf: nrfs: Build main image for app core only
Update this multi-core test to always run the `main` and `remote` images
on cpuapp and cpurad respectively.

This is to prepare the test for running with IronSide SE, in which case
keeping cpurad as the main board target wouldn't make as much sense,
because cpurad would have to be started by cpuapp.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2025-07-24 16:57:45 +01:00
Sebastian Głąb
dcd1a144ed tests: boards: nrf: qdec: Cleanup after nRF54LM20 rename
Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 13:04:27 -04:00
Sebastian Głąb
0272230542 tests: boards: nrf: i2c: i2c_slave: Cleanup after nRF54LM20 rename
Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 13:04:27 -04:00
Sebastian Głąb
591ff8155c tests: boards: nrf: hwinfo: Cleanup after nRF54LM20 rename
Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 13:04:27 -04:00
Sebastian Głąb
cd26bd78c5 tests: boards: nrf: comp: Enable test on nrf54lm20dk
Add overlay required to run the test on
nrf54lm20dk/nrf54lm20a/cpuapp.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 13:04:27 -04:00
Karol Lasończyk
061036f9e3 tests: samples: Extend support for nRF54LM20A
Extends support and adds new overlays.

Signed-off-by: Karol Lasończyk <karol.lasonczyk@nordicsemi.no>
Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-06-27 18:26:57 -05:00
Benjamin Cabé
f21f3b0d92 tests: do not use "sanity" word
Fix to align with guidelines regarding the use of inclusive language.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-25 16:00:10 -10:00
Bartosz Miller
39b2451494 tests: boards: nrf: qdec: Disable testing of 2nd instance until fixed
Disable testing second QDEC instance until the issue with multiple
QDEC instances support is resolved

Signed-off-by: Bartosz Miller <bartosz.miller@nordicsemi.no>
2025-06-25 09:53:15 +02:00
Bartosz Miller
08cc78cc9f tests: boards: nrf: qdec: Add testing with multiple QDEC instances
NRFX should support multiple QDEC devices operation.

Signed-off-by: Bartosz Miller <bartosz.miller@nordicsemi.no>
2025-06-18 09:10:02 -04:00
Jukka Rissanen
5a9a39caf3 net: mgmt: Convert the mgmt API to use 64-bit masks
Instead of using 32 bit enum values for event numbers, convert
the code to use 64 bit long bit fields. This means that the
user API is changed to use 64 bit event values instead of 32
bit event values.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-06-18 10:54:44 +02:00
Bartosz Miller
8aa6557c95 tests: boards: nrf: i2c: Fix nrf52 and nrf53 pin assignment
Fix the i2c loopbacks pins assignments for nrf52 and nrf53 to allow
automated testing.

Signed-off-by: Bartosz Miller <bartosz.miller@nordicsemi.no>
2025-06-17 16:10:59 +02:00