File tree 8 files changed +5
-10
lines changed
8 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -39,3 +39,4 @@ CONFIG_TEST_EXTRA_STACKSIZE=4096
39
39
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
40
40
CONFIG_OFFLOAD_WORKQUEUE_STACK_SIZE=4096
41
41
CONFIG_ZTEST_STACKSIZE=4096
42
+ CONFIG_ISR_STACK_SIZE=4096
Original file line number Diff line number Diff line change 1
1
CONFIG_ZTEST=y
2
- CONFIG_ZTEST_STACKSIZE=512
3
- CONFIG_MAIN_STACK_SIZE=512
4
2
CONFIG_GEN_ISR_TABLES=n
5
3
CONFIG_NUM_IRQS=3
6
4
# Force Bluetooth disable (required by platforms that enable Bluetooth by default)
Original file line number Diff line number Diff line change 14
14
#if defined(CONFIG_X86 ) && defined(CONFIG_X86_MMU )
15
15
#define STACKSIZE (8192)
16
16
#else
17
- #define STACKSIZE (2048)
17
+ #define STACKSIZE (2048 + CONFIG_TEST_EXTRA_STACKSIZE )
18
18
#endif
19
19
#define MAIN_PRIORITY 7
20
20
#define PRIORITY 5
Original file line number Diff line number Diff line change 1
1
CONFIG_ZTEST=y
2
2
CONFIG_IRQ_OFFLOAD=y
3
- CONFIG_ISR_STACK_SIZE=512
4
3
CONFIG_HEAP_MEM_POOL_SIZE=128
Original file line number Diff line number Diff line change @@ -2,4 +2,3 @@ CONFIG_ZTEST=y
2
2
CONFIG_ZTEST_STACKSIZE=2048
3
3
CONFIG_MAX_THREAD_BYTES=4
4
4
CONFIG_USERSPACE=y
5
- CONFIG_PRIVILEGED_STACK_SIZE=1024
Original file line number Diff line number Diff line change 50
50
#include <ztest.h>
51
51
#include <misc/mutex.h>
52
52
53
- #define STACKSIZE 512
53
+ #define STACKSIZE ( 512 + CONFIG_TEST_EXTRA_STACKSIZE)
54
54
55
55
static ZTEST_DMEM int tc_rc = TC_PASS ; /* test case return code */
56
56
Original file line number Diff line number Diff line change @@ -9,10 +9,8 @@ CONFIG_TEST_HW_STACK_PROTECTION=n
9
9
CONFIG_SYS_POWER_MANAGEMENT=y
10
10
CONFIG_SYS_POWER_SLEEP_STATES=y
11
11
CONFIG_SYS_PM_POLICY_APP=y
12
- CONFIG_IDLE_STACK_SIZE=768
13
12
14
13
# to check isr
15
14
CONFIG_IRQ_OFFLOAD=y
16
- CONFIG_ISR_STACK_SIZE=768
17
15
18
16
CONFIG_SMP=n
Original file line number Diff line number Diff line change 8
8
9
9
/*macro definition*/
10
10
#define INIT_COOP_PRIO -2
11
- #define INIT_COOP_STACK_SIZE 500
11
+ #define INIT_COOP_STACK_SIZE ( 500 + CONFIG_TEST_EXTRA_STACKSIZE)
12
12
#define INIT_COOP_P1 ((void *)0xFFFF0000)
13
13
#define INIT_COOP_P2 ((void *)0xCDEF)
14
14
#define INIT_COOP_P3 ((void *)0x1234)
15
15
#define INIT_COOP_OPTION (K_USER | K_INHERIT_PERMS)
16
16
#define INIT_COOP_DELAY 2000
17
17
#define INIT_PREEMPT_PRIO 1
18
- #define INIT_PREEMPT_STACK_SIZE 499
18
+ #define INIT_PREEMPT_STACK_SIZE ( 499 + CONFIG_TEST_EXTRA_STACKSIZE)
19
19
#define INIT_PREEMPT_P1 ((void *)5)
20
20
#define INIT_PREEMPT_P2 ((void *)6)
21
21
#define INIT_PREEMPT_P3 ((void *)7)
You can’t perform that action at this time.
0 commit comments