diff --git a/components/finsh/shell.h b/components/finsh/shell.h index a74f4da..d3551f0 100644 --- a/components/finsh/shell.h +++ b/components/finsh/shell.h @@ -17,7 +17,10 @@ #ifndef FINSH_THREAD_PRIORITY #define FINSH_THREAD_PRIORITY 20 #endif -#ifndef FINSH_THREAD_STACK_SIZE +#ifdef __ISA_NATIVE__ +#undef FINSH_THREAD_STACK_SIZE +#define FINSH_THREAD_STACK_SIZE (4096 * 3) +#elif !defined(FINSH_THREAD_STACK_SIZE) #define FINSH_THREAD_STACK_SIZE 2048 #endif #ifndef FINSH_CMD_SIZE