1
0
mirror of https://github.com/elua/elua.git synced 2025-01-25 01:02:54 +08:00
elua/boards/known/mbed.lua
2015-04-23 19:42:49 -05:00

33 lines
734 B
Lua

-- MBEd build configuration
return {
cpu = 'lpc1768',
components = {
sercon = { uart = 0, speed = 115200 },
romfs = true,
shell = true,
term = { lines = 25, cols = 80 },
linenoise = { shell_lines = 10, lua_lines = 50 },
rpc = { uart = 0, speed = 115200 },
adc = { buf_size = 4 },
xmodem = true,
lpc17xx_semifs = true
},
config = {
egc = { mode = "alloc" },
ram = { internal_rams = 2 },
clocks = { external = 12000000, cpu = 100000000 },
map_pins = {
port = { 0, 0 },
pin = { 2, 3 },
pinfunction = { 1, 1 }
}
},
modules = {
generic = { 'all', "-spi", "-i2c", "-net" },
platform = 'all',
platform_name = 'mbed'
},
}