Flavio Ceolin
5eca596d5f
tests: dynamic_thread_stack: Use app defined heap
...
Instead of using the system heap, we define our own heap in incoherent
memory because stacks should be in cached memory.
Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2024-01-18 19:54:31 -05:00
Anas Nashif
345735d0a8
tests: remove CONFIG_ZTEST_NEW_API in all tests
...
Remove all usage of CONFIG_ZTEST_NEW_API from tests and sample as this
is now enabled by default.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-10-20 15:04:29 +02:00
Daniel Leung
174caf0c10
tests: kernel: renames shadow variables
...
Renames shadow variables found by -Wshadow.
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2023-08-10 08:14:12 +00:00
Flavio Ceolin
3b7e0b672e
kernel: userspace: Dynamic thread stack object
...
Add support for dynamic thread stack objects. A new container
for this kernel object was added to avoid its alignment constraint
to all dynamic objects.
Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2023-07-17 16:56:01 -04:00
Flavio Ceolin
d58c9a1ca4
tests: kernel: threads: stack: Enable USERSPACE
...
Test that automatic thread stack allocation works for
both user and kernel threads.
Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2023-07-17 16:56:01 -04:00
Christopher Friedt
1323b1ac60
tests: kernel: threads: add a testcase for dynamic thread stacks
...
Test that automatic thread stack allocation works for
both user and kernel threads.
Signed-off-by: Christopher Friedt <cfriedt@meta.com>
2023-07-13 17:16:32 -04:00