2014-07-15 12:09:50 +02:00
|
|
|
# this CPU implementation is using the new core/CPU interface
|
|
|
|
export CFLAGS += -DCOREIF_NG=1
|
|
|
|
|
|
|
|
# tell the build system that the CPU depends on the atmega common files
|
2015-07-15 16:05:28 +02:00
|
|
|
USEMODULE += atmega_common
|
2015-06-09 13:09:28 +02:00
|
|
|
|
2014-07-15 12:09:50 +02:00
|
|
|
# define path to atmega common module, which is needed for this CPU
|
|
|
|
export ATMEGA_COMMON = $(RIOTCPU)/atmega_common/
|
|
|
|
|
|
|
|
# explicitly tell the linker to link the syscalls and startup code.
|
|
|
|
# Without this the interrupt vectors will not be linked correctly!
|
2016-10-18 23:27:59 +02:00
|
|
|
export UNDEF += $(BINDIR)/cpu/startup.o
|
2014-07-15 12:09:50 +02:00
|
|
|
|
|
|
|
# CPU depends on the atmega common module, so include it
|
|
|
|
include $(ATMEGA_COMMON)Makefile.include
|