mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
3b9368a99e
This refactor the current xmega PM peripheral to avr8 common and extend PM to cpus families. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
13 lines
303 B
Makefile
13 lines
303 B
Makefile
# peripheral drivers are linked into the final binary
|
|
USEMODULE += atxmega_periph
|
|
|
|
ifneq (,$(filter periph_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
|