components,finsh: fix stack overflow when pressing Ctrl+C on native
This commit is contained in:
parent
6ce926d1ae
commit
387916dd00
1 changed files with 4 additions and 1 deletions
|
@ -17,7 +17,10 @@
|
||||||
#ifndef FINSH_THREAD_PRIORITY
|
#ifndef FINSH_THREAD_PRIORITY
|
||||||
#define FINSH_THREAD_PRIORITY 20
|
#define FINSH_THREAD_PRIORITY 20
|
||||||
#endif
|
#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
|
#define FINSH_THREAD_STACK_SIZE 2048
|
||||||
#endif
|
#endif
|
||||||
#ifndef FINSH_CMD_SIZE
|
#ifndef FINSH_CMD_SIZE
|
||||||
|
|
Loading…
Add table
Reference in a new issue