diff --git a/APP_Framework/Applications/benchmark/support/benchmark.c b/APP_Framework/Applications/benchmark/support/benchmark.c index 7ee6bf716..3b057e4d7 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 = 8192; + attr.stacksize = 16384; 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 3774c1519..769d05510 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__ = 8192; +__STACKSIZE__ = 16384; OUTPUT_ARCH( "riscv" ) MEMORY {