1
0
mirror of https://github.com/elua/elua.git synced 2025-01-25 01:02:54 +08:00
elua/boards/known/stm32f4discovery.lua

31 lines
712 B
Lua

-- STM32F4DISCOVERY build configuration
return {
cpu = 'stm32f407vg',
components = {
sercon = { uart = "cdc", speed = 115200 },
romfs = true,
cdc = { buf_size = 128 },
advanced_shell = true,
term = { lines = 25, cols = 80 },
linenoise = { shell_lines = 10, lua_lines = 50 },
stm32f4_enc = true,
rpc = { uart = 0, speed = 115200 },
adc = { buf_size = 2 },
xmodem = true,
cints = true,
luaints = true
},
config = {
egc = { mode = "alloc" },
vtmr = { num = 4, freq = 10 },
ram = { internal_rams = 2 },
clocks = { external = 8000000, cpu = 168000000 }
},
modules = {
generic = { 'all', "-i2c", "-net" },
platform = 'all',
},
}