So, in current git HEAD [1], what is the search order now?
Is it back to:
- Elf
- Built-in
- NSH
Or is it:
- Built-in
- Elf
- NSH
It is not so clean and well partitioned. It is more like:
o IF Built-in available
- Elf
- IF NOT Elf
Built-in
o Elf
o NSH
The logic is spread across a couple of files so is not in one place anymore.
It is not pretty, but seems like it should work.
The only advantage is in this case:
o IF Built-in available
- Elf
For built-ins, we have task stack size and priority information. For
o Elf
But we do not and have to use a default stack size which will be most certainly
wrong. We are contemplating fixing that via
https://github.com/apache/incubator-nuttx/issues/1065