mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
2ff7137733
Info taken from https://www.microchip.com/wwwproducts/en/atmega256rfr2 TODO: update "board not enough memory".
18 lines
567 B
Makefile
18 lines
567 B
Makefile
# tell the build system that the CPU depends on the atmega common files
|
|
USEMODULE += atmega_common
|
|
# 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!
|
|
export UNDEF += $(BINDIR)/cpu/startup.o
|
|
|
|
#include periph module
|
|
USEMODULE += periph
|
|
|
|
RAM_LEN = 32K
|
|
ROM_LEN = 256K
|
|
|
|
# CPU depends on the atmega common module, so include it
|
|
include $(ATMEGA_COMMON)Makefile.include
|