RIOT/cpu/atmega328p/Makefile.include
2019-08-01 09:35:35 +02:00

14 lines
365 B
Makefile

# tell the build system that the CPU depends on the atmega common files
USEMODULE += atmega_common
RAM_LEN = 2K
ROM_LEN = 32K
# additional PCINTs for atmega328p
ifneq (,$(filter atmega_pcint,$(USEMODULE)))
USEMODULE += atmega_pcint1 atmega_pcint2
endif
# CPU depends on the atmega common module, so include it
include $(RIOTCPU)/atmega_common/Makefile.include