2021-01-07 17:05:50 +01:00
|
|
|
include $(RIOTCPU)/avr8_common/Makefile.features
|
|
|
|
|
|
|
|
# common feature are defined in avr8_common/Makefile.features
|
|
|
|
# Only add Additional features
|
|
|
|
|
2021-01-23 22:19:29 +01:00
|
|
|
ifneq (,$(findstring a1,$(shell echo $(CPU_MODEL) | cut -c8-)))
|
|
|
|
FEATURES_PROVIDED += atxmega_ebi
|
|
|
|
endif
|
|
|
|
|
2021-02-05 23:09:29 +01:00
|
|
|
FEATURES_PROVIDED += cpu_core_atxmega
|
2021-01-07 17:05:50 +01:00
|
|
|
FEATURES_PROVIDED += periph_cpuid
|
|
|
|
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
|
|
|
|
FEATURES_PROVIDED += periph_nvm
|
|
|
|
FEATURES_PROVIDED += periph_pm
|
|
|
|
FEATURES_PROVIDED += periph_timer periph_timer_periodic
|
2021-09-30 13:36:51 +02:00
|
|
|
|
|
|
|
# Add atxmega configurations. This configuration enables modules that are only available when
|
|
|
|
# using Kconfig module modelling
|
|
|
|
ifeq (1, $(TEST_KCONFIG))
|
2021-12-10 16:04:46 +01:00
|
|
|
KCONFIG_CPU_CONFIG += $(RIOTCPU)/atxmega/atxmega.config
|
2021-09-30 13:36:51 +02:00
|
|
|
endif
|