diff --git a/APP_Framework/Applications/benchmark/support/benchmark.c b/APP_Framework/Applications/benchmark/support/benchmark.c index 0bdc2d0ef..3ba48cae3 100644 --- a/APP_Framework/Applications/benchmark/support/benchmark.c +++ b/APP_Framework/Applications/benchmark/support/benchmark.c @@ -143,7 +143,7 @@ pthread_t benchmark_task; static int embenchmark(void) { pthread_attr_t attr; attr.schedparam.sched_priority = 25; - attr.stacksize = 5120; + attr.stacksize = 8192; PrivTaskCreate(&benchmark_task, &attr, run_benchmark, NULL); // run_benchmark(NULL); diff --git a/Ubiquitous/XiZi_IIoT/board/xidatong-riscv64/link.lds b/Ubiquitous/XiZi_IIoT/board/xidatong-riscv64/link.lds index 6026a8d94..3774c1519 100644 --- a/Ubiquitous/XiZi_IIoT/board/xidatong-riscv64/link.lds +++ b/Ubiquitous/XiZi_IIoT/board/xidatong-riscv64/link.lds @@ -10,7 +10,7 @@ * See the Mulan PSL v2 for more details. */ -__STACKSIZE__ = 5120; +__STACKSIZE__ = 8192; OUTPUT_ARCH( "riscv" ) MEMORY {