New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests: lib: cmsis:transform: cf64 min_ram 128k #27850
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you split the changes in testcase.yml
and cf64.c
into separate commits?
Ideally, updating the memory requirement in testcase.yml
should be sufficient; but, it seems an additional change (reordering) is required due to something funny going on inside newlib malloc -- which ought to be investigated and fixed; after which, it should no longer be necessary and therefore reverted.
tests/lib/cmsis_dsp/transform/ with config: * libraries.cmsis_dsp.transform.cf64 Needs more than 64k RAM. Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
tests/lib/cmsis_dsp/transform/ with config: * libraries.cmsis_dsp.transform.cf64 96k is sufficient if tests steps are reordered (decreasing malloc size) Tested on nucleo_l476rg Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
fcb9f5d
to
44e98bb
Compare
Similar PR for tests/lib/cmsis_dsp/matrix/: #27925 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even if the fragmentation is not the root cause if this problem (which this PR is trying to fix), I think this PR is fine as it is, theoretically, a "no-op" : it only re-orders the tests.
Not urgent to be merged before the 2.4 freeze - this is probably fixing a bug, so it can be dealt with later. |
tests: lib: cmsis:transform: cf64 min_ram 128k
tests/lib/cmsis_dsp/transform/ with config:
Needs more than 64k RAM.
128k is sufficient if tests steps are reordered
(decreasing malloc size)
Fixes #27849