1
0
mirror of https://github.com/elua/elua.git synced 2025-01-25 01:02:54 +08:00
elua/boards/known/sim.lua
Bogdan Marinescu 788f4e3fd1 New configuration for shell_config
It is now possible to configure each individual command that will be compiled in the shell:

```
shell = { commands = {'ls', 'ver', 'type' } }
```

If not specified, all the available commands will be compiled (which is backwards compatible).

Also, the `advanced_shell`  attribute is gone, replaced with an `advanced` key in the shell
configuration. So write this:

```
shell = { advanced = true }
```

instead of this:

```
advanced_shell = true
```
2018-05-23 11:09:32 +03:00

18 lines
349 B
Lua

-- eLua simulator running on linux
return {
cpu = 'linux',
components = {
sercon = { uart = 0, speed = 0 },
wofs = true,
romfs = true,
shell = { advanced = true },
term = { lines = 25, cols = 80 },
mmcfs = { spi = 0, cs_port = 0, cs_pin = 0 },
},
modules = {
generic = { 'pd', 'all_lua', 'term', 'elua' }
}
}