mirror of
https://github.com/elua/elua.git
synced 2025-01-25 01:02:54 +08:00
36 lines
779 B
Lua
36 lines
779 B
Lua
|
--
|
||
|
-- Omnima STM32Expander build configuration
|
||
|
--
|
||
|
-- omnima.co.uk
|
||
|
--
|
||
|
-- Product page:
|
||
|
-- http://omnima.co.uk/store/catalog/STM32Expander-p-16189.html
|
||
|
|
||
|
return {
|
||
|
cpu = 'stm32f103re',
|
||
|
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
|
||
|
},
|
||
|
config = {
|
||
|
egc = { mode = "alloc" },
|
||
|
vtmr = { num = 4, freq = 10 },
|
||
|
clocks = { external = 16000000, cpu = 72000000 }
|
||
|
},
|
||
|
modules = {
|
||
|
generic = { 'all', '-i2c', '-net' },
|
||
|
platform = 'all',
|
||
|
}
|
||
|
}
|
||
|
|