mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
307e8c7a17
Introduce XMEGA EBI driver. This enable EBI for use with all memory supported by the device and peripherals. It include support to SRAM, SDRAM, LCDs or any other external bus access. Note: This feature only works for A1/A1U series, which are, the series with EBI hardware. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
16 lines
356 B
Makefile
16 lines
356 B
Makefile
# peripheral drivers are linked into the final binary
|
|
USEMODULE += atxmega_periph
|
|
|
|
# All ATxmega based CPUs provide PM
|
|
USEMODULE += pm_layered
|
|
|
|
ifeq (,$(filter cpuid,$(USEMODULE)))
|
|
USEMODULE += periph_nvm
|
|
endif
|
|
|
|
ifneq (,$(findstring a1,$(shell echo $(CPU_MODEL) | cut -c8-)))
|
|
USEMODULE += atxmega_ebi
|
|
endif
|
|
|
|
include $(RIOTCPU)/avr8_common/Makefile.dep
|