From b1beed20ae1034ad8b87594dfd1aa778f91f2d2e Mon Sep 17 00:00:00 2001 From: "fan.ji" Date: Thu, 27 Oct 2022 10:38:23 +0800 Subject: [PATCH] expand mq test stack size to fix overstack problem during utest. Signed-off-by: fan.ji --- examples/utest/testcases/kernel/messagequeue_tc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/utest/testcases/kernel/messagequeue_tc.c b/examples/utest/testcases/kernel/messagequeue_tc.c index 335c591ab6..a5fca20782 100644 --- a/examples/utest/testcases/kernel/messagequeue_tc.c +++ b/examples/utest/testcases/kernel/messagequeue_tc.c @@ -19,8 +19,8 @@ static rt_uint8_t mq_buf[(MSG_SIZE + 4) * MAX_MSGS]; static struct rt_thread mq_send_thread; static struct rt_thread mq_recv_thread; -static rt_uint8_t mq_send_stack[512]; -static rt_uint8_t mq_recv_stack[512]; +static rt_uint8_t mq_send_stack[1024]; +static rt_uint8_t mq_recv_stack[1024]; static struct rt_event finish_e; #define MQSEND_FINISH 0x01