Skip to content

Commit e88752f

Browse files
committed
tests: stacks: increase STACK_LEN to 4
Test was failing on nios2 with: ../app/libapp.a(test_stack_contexts.c.obj): in function `tstack_pop': /home/galak/git/zephyr/tests/kernel/stack/stack_api/src/test_stack_contexts.c:31: warning: unable to reach (null) (at 0x004002f4) from the global pointer (at 0x004082fc) because the offset (-32776) is out of the allowed range, -32678 to 32767 Fixes #13595 Signed-off-by: Anas Nashif <[email protected]>
1 parent 45631c3 commit e88752f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/kernel/stack/stack_api/src/test_stack_contexts.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include <ztest.h>
88
#include <irq_offload.h>
99
#define STACK_SIZE 512
10-
#define STACK_LEN 2
10+
#define STACK_LEN 4
1111

1212
/**TESTPOINT: init via K_STACK_DEFINE*/
1313
K_STACK_DEFINE(kstack, STACK_LEN);

0 commit comments

Comments
 (0)