From b22832b4cd7e73dbd6bc8f93ecd5f421e58a7d8c Mon Sep 17 00:00:00 2001 From: cladmi <gaetan.harter@fu-berlin.de> Date: Wed, 15 Aug 2018 13:20:44 +0200 Subject: [PATCH] cpu/atmega2560: configure RAM and ROM length Info taken from https://www.microchip.com/wwwproducts/en/atmega2560 TODO: update "board not enough memory". --- cpu/atmega2560/Makefile.include | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cpu/atmega2560/Makefile.include b/cpu/atmega2560/Makefile.include index 6647a8d437..18bfb9a454 100644 --- a/cpu/atmega2560/Makefile.include +++ b/cpu/atmega2560/Makefile.include @@ -8,5 +8,8 @@ export ATMEGA_COMMON = $(RIOTCPU)/atmega_common/ # Without this the interrupt vectors will not be linked correctly! export UNDEF += $(BINDIR)/cpu/startup.o +RAM_LEN = 8K +ROM_LEN = 256K + # CPU depends on the atmega common module, so include it include $(ATMEGA_COMMON)Makefile.include -- GitLab