Add tests to ensure 100% line and branch coverage of previously untested
net_buf_linearize() function.
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Add custom interoperability tests verifying that numerical observe
attributes work as expected.
Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
1. Add counter tag in siwx91x board yaml files
2. Enable sysrtc node for siwx917_rb4342a through overlay
Signed-off-by: Sai Santhosh Malae <Santhosh.Malae@silabs.com>
Test for power domains driver based on TISCI API added. This test is
for the target am243x_evm/am2434/r5f0_0.
Signed-off-by: Dave Joseph <d-joseph@ti.com>
Change license owner to Prevas due to initially wrong owner due to company
mix-up during co-development.
Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
This driver supports the magnetometer in the ST lsm9ds1 sensor, on the
I2C bus.
This driver does not support the triggers.
This driver use the stmemsc HAL.
link: https://www.st.com/resource/en/datasheet/lsm9ds1.pdf
Signed-off-by: Miguel Gazquez <miguel.gazquez@bootlin.com>
Test added for new nrf2_auxpll driver. Frequency checks are
against known usecases of the auxpll (USB, CAN and AUDIO).
Also update test to be more modular, only running certain tests
if in the devicetree.
Signed-off-by: David Jewsbury <david.jewsbury@nordicsemi.no>
As the net_dhcpv4_stop() will now properly remove DNS servers, remove
the loop check so that the add event gets tested again.
Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
Remember which DNS server was added by a source like DHCPv4 or v6
message. This will allow system to remove DNS servers that were added by
that source. Then when stopping for example DHCP, we can remove those
specific DNS servers and not leaving DNS servers hanging in the system.
Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
Excluding this test for qemu_rx because it's failing randomly
Root cause not identified yet, #92213 is created to keep track
of this
This test case is working fine on actual RX HW so issue might be
in the inside the qemu environment
Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
The qemu_rx some how with too big offset in "mov" instruction
cannot manipulate the memory correctly
This commit reconfigure the slot count to reduce the size of
psa_global_data_t struct so that issue on qemu_rx not occur
Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
Somehow icount shift making this test fail on qemu_rx target
maybe clock rate on RX is too low, as work around I disable
the icount shift for this test case on qemu_rx
Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
GCC for RX would crash with an internal compiler error during
DWARF frame generation in `dwarf2out_frame_debug_adjust_cfa()`
when compiling the `trigger_fault_illegal_instruction()`
test function.
This patch adds `__builtin_unreachable()` to help the compiler
reason about control flow, preventing incorrect DWARF CFA
generation.
Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
The prj.conf was missing CONFIG_COMMON_LIBC_MALLOC causing
warning of the depended config CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE
Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
Fixes these files to no longer delete non-secure partitions as
they are not present, and updates the offset of the area to use
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
With the current configuration, we encounter a user setting error
during the test with the log:
"Wrong number of bytes received, got: 2, expected: 3."
Workaround:
Increase the clock frequency to enable faster data transmission
and avoid user setting errors.
Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
Since nucleo_f746zg has NOCACHE_MEM defined
(related to test cases drivers.uart.async_api.nocache_mem
and drivers.uart.async_api.nocache_mem_dt.nucleo_f746zg),
the TX buffer should be placed in a non-cacheable memory region
for the uart_async_var_buf_length testsuite to pass.
Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
Add Renesas RA board support for these tests:
- tests/drivers/i2s/i2s_api
- tests/drivers/i2c/i2c_speed
Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
Size given to __aligned() is in bytes.
Align following DCACHE line size, or default to 32-byte alignment
Signed-off-by: Abderrahmane JARMOUNI <git@jarmouni.me>
Add support for npck3m8k board that is a development platform to
evaluate the Nuvoton NPCK3 embedded controller.
Signed-off-by: Alvis Sun <yfsun@nuvoton.com>
Signed-off-by: Mulin Chao <mlchao@nuvoton.com>
Add nucleo u385rg_q as allowed platform for iwdg and wwdg tests
to verify functionality on the STM32U3-series.
Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
The hardware MRU on SoC S32Z supports ping-pong data on a
MBOX channel within one core.
Added Kconfig TEST_SINGLE_CPU to enable test on single CPU to wrap
the specific code for each testcase, As the expected received data
must match the sent data when running test single CPU. This differs
from the expected data in the current supported test transfer data
between 2 other cores, where the remote core increments the data by
one before transferring it back to the main core.
Signed-off-by: Cong Nguyen Huu <cong.nguyenhuu@nxp.com>
- Added a CPU load callback with threshold
- Changed cpu_load to use k_timer instead of k_work
Signed-off-by: Kristoffer Rist Skøien <kristoffer.skoien@nordicsemi.no>
Use k_event bit flags to test individual events and callbacks. Don't rely
on the number of events that happened.
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Add PWM driver for the Timer peripheral on Series 2.
The TIMER uses the high-frequency EM01 Group A clock, and has
a 16- or 32-bit counter. It supports PWM period and pulse capture
on channel 0, and PWM output on all channels.
Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
Add PWM driver for the Low Energy Timer peripheral on Series 2.
The LETIMER runs at up to 32 kHz and has a 24-bit counter. It
only supports PWM output, it does not support input capture.
Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
When no flash device requires erase, this test does not retrieve
flash page size with flash_get_page_info_by_offs(), but instead
it takes an arbitrary page size based on the test area length.
Since the test_flash_copy routine needs to use two pages, the test
area needs to be split into at least two parts. Correct the related
code and add a check if test_flash_copy requirements are met.
Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
Add UART test overlays for Nucleo U385RG-Q board.
Remove non serial boot conf file since they are now unnecessary.
Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
Disable testing second QDEC instance until the issue with multiple
QDEC instances support is resolved
Signed-off-by: Bartosz Miller <bartosz.miller@nordicsemi.no>
Avoid undefined behavior caused by casting floating-point values outside
the int32_t range. The updated implementation explicitly validates input
bounds before performing conversions, ensuring consistent behavior across
platforms.
Added test cases to cover edge conditions near float rounding limits
and INT32 range boundaries.
Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>