mirror of
https://github.com/elua/elua.git
synced 2025-01-25 01:02:54 +08:00
41 lines
871 B
Lua
41 lines
871 B
Lua
|
|
-- Infineon XMC4300 EtherCat kit - Version 1.1
|
|
|
|
--[[
|
|
|
|
Notes:
|
|
|
|
1) Again, No SDMMC. That makes me sad! :( We have to kludge on
|
|
existing boilerplate in gen/ to get SPI working with an external SD
|
|
card adapter.
|
|
|
|
TODO: SPI pin details?
|
|
|
|
2) The board simply looks beautiful! It certainly reminds me of the
|
|
EK-LM3S8962 days with Edelstoff! :)
|
|
|
|
--]]
|
|
|
|
|
|
return {
|
|
cpu = 'xmc4300f100k256',
|
|
components = {
|
|
sercon = { uart = 0, speed = 115200 },
|
|
wofs = false,
|
|
romfs = true,
|
|
shell = true,
|
|
term = { lines = 25, cols = 80 },
|
|
linenoise = { shell_lines = 10, lua_lines = 50 },
|
|
xmodem = false,
|
|
niffs = false,
|
|
},
|
|
config = {
|
|
egc = { mode = "alloc" },
|
|
ram = { internal_rams = 1 },
|
|
},
|
|
modules = {
|
|
generic = { 'all', '-tmr', '-i2c', '-net', '-adc', '-spi', '-uart', '-can', '-pwm', '-rpc', '-fs' },
|
|
platform = 'all',
|
|
}
|
|
}
|