2019-12-07 17:13:19 +01:00
|
|
|
# avr libc needs some RIOT-specific support code
|
|
|
|
USEMODULE += avr_libc_extra
|
|
|
|
|
2019-10-18 08:13:32 +02:00
|
|
|
# tell the build system to build the atmega common files
|
|
|
|
USEMODULE += atmega_common
|
|
|
|
|
2019-12-11 07:50:32 +01:00
|
|
|
# peripheral drivers are linked into the final binary
|
|
|
|
USEMODULE += atmega_common_periph
|
|
|
|
|
|
|
|
# the atmel port uses stdio_uart
|
|
|
|
USEMODULE += stdio_uart
|
|
|
|
|
2019-08-01 09:23:04 +02:00
|
|
|
# expand atmega_pcint module
|
|
|
|
ifneq (,$(filter atmega_pcint,$(USEMODULE)))
|
|
|
|
USEMODULE += atmega_pcint0
|
|
|
|
endif
|
|
|
|
|
|
|
|
# feature for atmega_pcint0 module
|
|
|
|
ifneq (,$(filter atmega_pcint0,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += atmega_pcint0
|
|
|
|
endif
|
|
|
|
|
|
|
|
# feature for atmega_pcint1 module
|
|
|
|
ifneq (,$(filter atmega_pcint1,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += atmega_pcint1
|
|
|
|
endif
|
|
|
|
|
|
|
|
# feature for atmega_pcint2 module
|
|
|
|
ifneq (,$(filter atmega_pcint2,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += atmega_pcint2
|
|
|
|
endif
|
|
|
|
|
|
|
|
# feature for atmega_pcint3 module
|
|
|
|
ifneq (,$(filter atmega_pcint3,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += atmega_pcint3
|
|
|
|
endif
|