Skip to content

Commit bced298

Browse files
cfriedtnashif
authored andcommitted
tests: drivers: optee: workaround for ENOMEM
The optee suite was failing in test_suspend() after a call to k_aligned_alloc() which returns -ENOMEM. The alignment requirement is 4096 bytes, which seems reasonable, but what is odd about that is that the alignment fails in spite of CONFIG_SRAM_SIZE=145131134582784 and CONFIG_HEAP_MEM_POOL_SIZE=270044 So there is plenty of memory available for this test and alignment considerations should not be an issue. Removing `CONFIG_DEBUG=y` solved the problem for me. Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
1 parent 4cb9c80 commit bced298

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/drivers/tee/optee/prj.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
CONFIG_ZTEST=y
22
CONFIG_BOOT_BANNER=n
3-
CONFIG_DEBUG=y
43
CONFIG_HEAP_MEM_POOL_SIZE=270044
54
CONFIG_TEE=y
65
CONFIG_OPTEE=y

0 commit comments

Comments
 (0)