From ef20b035bd299d4bc9f509807be9e16c11699186 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/atmega1281: configure RAM and ROM length Info taken from https://www.microchip.com/wwwproducts/en/atmega1281 TODO: update "board not enough memory". --- cpu/atmega1281/Makefile.include | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cpu/atmega1281/Makefile.include b/cpu/atmega1281/Makefile.include index 6647a8d437..093660e72e 100644 --- a/cpu/atmega1281/Makefile.include +++ b/cpu/atmega1281/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 = 128K + # CPU depends on the atmega common module, so include it include $(ATMEGA_COMMON)Makefile.include -- GitLab