mirror of
https://github.com/elua/elua.git
synced 2025-01-08 20:56:17 +08:00
30 lines
659 B
Lua
30 lines
659 B
Lua
-- STM3210E-EVAL build configuration
|
|
|
|
return {
|
|
cpu = 'stm32f103ze',
|
|
components = {
|
|
sercon = { uart = 0, speed = 115200, buf_size = 128 },
|
|
wofs = true,
|
|
romfs = true,
|
|
shell = true,
|
|
term = { lines = 25, cols = 80 },
|
|
cints = true,
|
|
luaints = true,
|
|
linenoise = { shell_lines = 10, lua_lines = 50 },
|
|
stm32_enc = true,
|
|
rpc = { uart = 0, speed = 115200 },
|
|
adc = { buf_size = 4 },
|
|
xmodem = true,
|
|
mmcfs = { cs_port = 0, cs_pin = 8, spi = 0 }
|
|
},
|
|
config = {
|
|
egc = { mode = "alloc" },
|
|
vtmr = { num = 4, freq = 10 },
|
|
},
|
|
modules = {
|
|
generic = { 'all', "-i2c", "-net" },
|
|
platform = 'all',
|
|
}
|
|
}
|
|
|