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

43 lines
1.0 KiB
Lua
Raw Normal View History

2016-08-23 15:32:11 +05:30
-- Infineon XMC4500 Hexagon SDRAM boot-kit build configuration
--[[
Notes:
1) This XMC4000 board has the XMC4500E144K1024 chip (BGA package).
2) While this XMC4500 also has its own SDMMC peripheral, we can't use
the hardware SDMMC pins because some of the data lines are used to
talk to the ISSI SDRAM controller. So, on this board, it is all
about SDRAM. To have an SD card interface, SPI is the only way.
--]]
return {
cpu = 'xmc4500e144k1024',
components = {
sercon = { uart = 0, speed = 115200 },
xmc45_pot = true,
xmc45_dts = true,
xmc45_rtc = true,
xmc45_disp = false,
wofs = false,
romfs = true,
2016-08-24 08:05:41 +05:30
-- mmcfs = { spi = 0, cs_port = 0, cs_pin = 0 },
2016-08-23 15:32:11 +05:30
shell = true,
term = { lines = 25, cols = 80 },
linenoise = { shell_lines = 10, lua_lines = 50 },
xmodem = false
},
config = {
egc = { mode = "alloc" },
ram = { internal_rams = 4 },
2016-08-23 15:32:11 +05:30
},
modules = {
generic = { 'all', '-i2c', '-net', '-adc', '-spi', '-uart', '-can', '-pwm', '-rpc' },
platform = 'all',
}
}