1
0
mirror of https://github.com/elua/elua.git synced 2025-01-08 20:56:17 +08:00
elua/boards/known/atevk1101.lua
Bogdan Marinescu a9da3f816b Documentation updated
- (mostly) finished configurator docs
- arch_overview conterted to AsciiDoc and updated
- 'adc' parameters updates in all configuration files
- added 'config_only' option to the build system
2013-05-25 01:30:08 +03:00

33 lines
912 B
Lua

-- ATEVK1101 board configuration
return {
cpu = 'at32uc3b0256',
components = {
sercon = { uart = 1, speed = 115200, buf_size = 128 },
adc = { buf_size = 2 },
mmcfs = { spi = 1, cs_port = 0, cs_pin = "SD_MMC_SPI_NPCS_PIN" },
term = { lines = 25, cols = 80 },
cints = true,
shell = true,
xmodem = true,
romfs = true
},
config = {
vtmr = { num = 4, freq = 10 },
},
modules = {
generic = { 'all_lua', 'pd', 'uart', 'pio', 'spi', 'tmr', 'term', 'cpu', 'adc', 'bit', 'pack' }
},
macros = {
{ "BOARD_SPI0_SCK_PIN", "AVR32_PIN_PA15" },
{ "BOARD_SPI0_SCK_PIN_FUNCTION", 0 },
{ "BOARD_SPI0_MISO_PIN", "AVR32_PIN_PA25" },
{ "BOARD_SPI0_MISO_PIN_FUNCTION", 0 },
{ "BOARD_SPI0_MOSI_PIN", "AVR32_PIN_PA14" },
{ "BOARD_SPI0_MOSI_PIN_FUNCTION", 0 },
{ "BOARD_SPI0_CS_PIN", "AVR32_PIN_PA10" },
{ "BOARD_SPI0_CS_PIN_FUNCTION", 0 },
},
}