mirror of
https://github.com/elua/elua.git
synced 2025-01-08 20:56:17 +08:00
37e20330e7
- more flexible specification of the RAM structure in the build configuration file - fix for allocator choice in build_elua.lua
27 lines
651 B
Lua
27 lines
651 B
Lua
-- eLua-PUC board build configuration
|
|
|
|
return {
|
|
cpu = 'lpc2468',
|
|
components = {
|
|
sercon = { uart = 0, speed = 115200, buf_size = 128 },
|
|
romfs = true,
|
|
shell = true,
|
|
term = { lines = 25, cols = 80 },
|
|
cints = true,
|
|
luaints = true,
|
|
linenoise = { shell_lines = 10, lua_lines = 50 },
|
|
rpc = { uart = 0, speed = 115200 },
|
|
adc = { buf_size = 4, first_timer = 0, num_timers = 4 },
|
|
xmodem = true
|
|
},
|
|
config = {
|
|
vtmr = { num = 4, freq = 4 },
|
|
ram = { ext_start = { 0xA0000000 }, ext_size = { 8 * 1048576 } }
|
|
},
|
|
modules = {
|
|
generic = 'all',
|
|
exclude_generic = { "i2c", "net", "spi", "can" },
|
|
}
|
|
}
|
|
|