diff --git a/cpu/atmega1281/Makefile.include b/cpu/atmega1281/Makefile.include
index 6647a8d437943e6c87fad2c38182ba324f8afa9e..093660e72e8d608a6ad8147d97e6d8dfab044ed8 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