diff --git a/boards/atxmega-a1u-xpro/Makefile.include b/boards/atxmega-a1u-xpro/Makefile.include index f5bff7abc8..32baf45835 100644 --- a/boards/atxmega-a1u-xpro/Makefile.include +++ b/boards/atxmega-a1u-xpro/Makefile.include @@ -1,4 +1,7 @@ AVRDUDE_PROGRAMMER = xplainedpro_pdi DEBUGPROTO = -X +override RAM_LEN = 65536 +override EXP_RAM = 1 + include $(RIOTBOARD)/common/atxmega/Makefile.include diff --git a/boards/atxmega-a1u-xpro/include/periph_conf.h b/boards/atxmega-a1u-xpro/include/periph_conf.h index 68926e4269..e1664265ee 100644 --- a/boards/atxmega-a1u-xpro/include/periph_conf.h +++ b/boards/atxmega-a1u-xpro/include/periph_conf.h @@ -138,7 +138,33 @@ static const spi_conf_t spi_config[] = { * @{ */ static const ebi_conf_t ebi_config = { - 0 + .addr_bits = 18, /* A0-A17 */ + .flags = (EBI_PORT_LPC | EBI_PORT_CS2), + .sram_ale = 0, + .lpc_ale = 2, + .sdram = { 0 }, + .cs = { /* Reserved A16 */ + { EBI_CS_MODE_DISABLED_gc, + 0, + EBI_CS_SRWS_0CLK_gc, + 0x0UL, + }, /* Reserved A17 */ + { EBI_CS_MODE_DISABLED_gc, + 0, + EBI_CS_SRWS_0CLK_gc, + 0x0UL, + }, /* CS2 - 256K SRAM */ + { EBI_CS_MODE_LPC_gc, + EBI_CS_ASPACE_256KB_gc, + EBI_CS_SRWS_1CLK_gc, + 0x0UL, + }, /* Reserved LCD */ + { EBI_CS_MODE_DISABLED_gc, + 0, + EBI_CS_SRWS_0CLK_gc, + 0x0UL, + }, + }, }; /** @} */