[utest] 更改 thread_tc 线程栈的大小,避免 64 位机器导致的栈异常 (#8057)

This commit is contained in:
zhkag 2023-09-20 13:15:32 +08:00 committed by GitHub
parent 35e4baa786
commit d75090dd16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@
#include <stdlib.h>
#include "utest.h"
#define THREAD_STACK_SIZE 512
#define THREAD_STACK_SIZE UTEST_THR_STACK_SIZE
#define THREAD_TIMESLICE 10
rt_align(RT_ALIGN_SIZE)
@ -35,12 +35,12 @@ static volatile rt_uint32_t tid6_finish_flag = 0;
static volatile rt_uint32_t thread5_source = 0;
#ifndef RT_USING_SMP
static rt_uint32_t thread_yield_flag = 0;
static volatile rt_uint32_t thread_yield_flag = 0;
#endif
static rt_uint32_t entry_idle_hook_times = 0;
static volatile rt_uint32_t entry_idle_hook_times = 0;
static rt_thread_t __current_thread;
static rt_uint8_t change_priority;
static rt_uint32_t count = 0;
static volatile rt_uint32_t count = 0;
void thread1_entry(void *param)
{