apps/system/system: A much larger stack is needed to run reliably on the simulation.
This commit is contained in:
parent
743234ea40
commit
b1d44a81b4
@ -1890,7 +1890,10 @@ examples/smp
|
||||
examples/system
|
||||
^^^^^^^^^^^^^^^
|
||||
|
||||
This is a simple test of the system() command.
|
||||
This is a simple test of the system() command. The test simply executes this
|
||||
system command:
|
||||
|
||||
ret = system("ls -Rl /");
|
||||
|
||||
examples/tcpecho
|
||||
^^^^^^^^^^^^^^^^
|
||||
|
@ -15,10 +15,16 @@ if SYSTEM_SYSTEM
|
||||
|
||||
config SYSTEM_SYSTEM_STACKSIZE
|
||||
int "system stack size"
|
||||
default 1536
|
||||
default 2048 if !ARCH_SIM
|
||||
default 4096 if ARCH_SIM
|
||||
---help---
|
||||
The size of stack allocated for the shell.
|
||||
|
||||
NOTE: I needed to set the stack size quite large to get this example
|
||||
working on the simulated target (perhaps because of the 64-bit
|
||||
stack?). I assume that a smaller stack would be okay on real
|
||||
hardware, but I have not yet verified that.
|
||||
|
||||
config SYSTEM_SYSTEM_PRIORITY
|
||||
int "system priority"
|
||||
default 100
|
||||
|
Loading…
Reference in New Issue
Block a user