tests/lib/cmsis_dsp: malloc failed on 128K SRAM targets #38826
Labels
area: CMSIS-DSP
area: Tests
Issues related to a particular existing or missing test
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
Describe the bug
I'm seeing the following tests failed on targets with 128K RAM:
Error message:
Assertion failed at WEST_TOPDIR/zephyr/tests/lib/cmsis_dsp/matrix/src/binary_f16.c:145: test_op2) buffer allocation failed
These tests are run on these targets as
min_ram
is set to 128, which seems insufficient.I've been able to reproduce the issue by reducing the available RAM which originally have 192K of RAM (nucleo_f429zi, frdm_k64f)
To Reproduce
twister --ninja -p nucleo_g474re --device-serial /dev/ttyACM0 --device-testing -s tests/lib/cmsis_dsp/matrix/libraries.cmsis_dsp.matrix.binary_f16
Expected behavior
Test should define the adequate min_ram size or should be fixed to consume less RAM.
Impact
Tests failed in CI on 128K RAM targets
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: