Add tip about SMP host builds
[apeos.git] / doc / shell.txt
blobf493083ddb80d8ccdccbc6ca6b1216bed2f24eb1
1 The boot process ends with apeos providing interactive text shell on
2 UART0.
4 The shell allows execution of programs. Programs accept parameters
5 through C-runtime-like argc/argv mechanism. For receiving input and
6 providing output to user running them, programs have access to
7 two C-runtime-like streams: stdin and stdout. These two streams are
8 the primary mean for interacting with user that ordered program
9 execution.
11 Programs are implemented as C-like functions, with program entry code
12 residing at address fixed when the esp-idf application providing them
13 is built. Thus, program execution is a matter of parsing the
14 command-line, converting the parse result to argc/argv and calling
15 a function with ABI fixed for all apeos programs.