mirror of
https://github.com/elua/elua.git
synced 2025-01-25 01:02:54 +08:00
43 lines
1.0 KiB
Lua
43 lines
1.0 KiB
Lua
|
|
-- 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,
|
|
-- mmcfs = { spi = 0, cs_port = 0, cs_pin = 0 },
|
|
shell = true,
|
|
term = { lines = 25, cols = 80 },
|
|
linenoise = { shell_lines = 10, lua_lines = 50 },
|
|
xmodem = false
|
|
},
|
|
config = {
|
|
egc = { mode = "alloc" },
|
|
ram = { internal_rams = 4 },
|
|
},
|
|
modules = {
|
|
generic = { 'all', '-i2c', '-net', '-adc', '-spi', '-uart', '-can', '-pwm', '-rpc' },
|
|
platform = 'all',
|
|
}
|
|
}
|