mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-15 10:32:44 +01:00
70c597620f
Current there is no way to split code between ATmega and ATxmega in drivers. This differentiate AVR8 cores into MEGAs and XMEGAs. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
20 lines
672 B
Makefile
20 lines
672 B
Makefile
include $(RIOTCPU)/avr8_common/Makefile.features
|
|
|
|
# common feature are defined in avr8_common/Makefile.features
|
|
# Only add Additional features
|
|
|
|
FEATURES_PROVIDED += cpu_core_atmega
|
|
FEATURES_PROVIDED += atmega_pcint0
|
|
FEATURES_PROVIDED += dbgpin
|
|
FEATURES_PROVIDED += periph_cpuid
|
|
FEATURES_PROVIDED += periph_eeprom
|
|
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
|
|
FEATURES_PROVIDED += periph_pm
|
|
FEATURES_PROVIDED += periph_rtt_set_counter
|
|
FEATURES_PROVIDED += periph_timer_periodic
|
|
FEATURES_PROVIDED += periph_wdt
|
|
FEATURES_PROVIDED += puf_sram
|
|
|
|
FEATURES_CONFLICT += periph_rtc:periph_rtt
|
|
FEATURES_CONFLICT_MSG += "On ATmega, the RTC and RTT use to the same hardware timer."
|