2015-04-17 10:26:07 -05:00
|
|
|
-- STM32F4-NUCLEO build configuration
|
|
|
|
|
|
|
|
return {
|
|
|
|
cpu = 'stm32f411re',
|
|
|
|
components = {
|
2015-05-03 20:23:29 -05:00
|
|
|
sercon = { uart = "1", speed = 115200, buf_size = 128 },
|
2015-04-17 10:26:07 -05:00
|
|
|
romfs = true,
|
|
|
|
cdc = false,
|
2018-05-23 11:09:32 +03:00
|
|
|
shell = { advanced = true },
|
2015-04-17 10:26:07 -05:00
|
|
|
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 = 1 },
|
|
|
|
clocks = { internal = 16000000, cpu = 100000000 },
|
|
|
|
stm32f4_uart_pins = { con_rx_port = 0, con_rx_pin = 3, con_tx_port = 0, con_tx_pin = 2 }
|
|
|
|
},
|
|
|
|
modules = {
|
|
|
|
generic = { 'all', "-i2c", "-net", "-can" },
|
|
|
|
platform = 'all',
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|