enforce minimal stack size in rt_thread_create() for native
This commit is contained in:
parent
387916dd00
commit
3975a30198
3 changed files with 7 additions and 8 deletions
|
@ -17,10 +17,7 @@
|
|||
#ifndef FINSH_THREAD_PRIORITY
|
||||
#define FINSH_THREAD_PRIORITY 20
|
||||
#endif
|
||||
#ifdef __ISA_NATIVE__
|
||||
#undef FINSH_THREAD_STACK_SIZE
|
||||
#define FINSH_THREAD_STACK_SIZE (4096 * 3)
|
||||
#elif !defined(FINSH_THREAD_STACK_SIZE)
|
||||
#ifndef FINSH_THREAD_STACK_SIZE
|
||||
#define FINSH_THREAD_STACK_SIZE 2048
|
||||
#endif
|
||||
#ifndef FINSH_CMD_SIZE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue