From c6a45e4082eb97e5115a54df7c3b0f06b916cd7a 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/atmega328p: configure RAM and ROM length Info taken from https://www.microchip.com/wwwproducts/en/atmega328p TODO: update "board not enough memory". --- cpu/atmega328p/Makefile.include | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cpu/atmega328p/Makefile.include b/cpu/atmega328p/Makefile.include index b46d4e871c..c014b254cc 100644 --- a/cpu/atmega328p/Makefile.include +++ b/cpu/atmega328p/Makefile.include @@ -4,5 +4,8 @@ USEMODULE += atmega_common # define path to atmega common module, which is needed for this CPU export ATMEGA_COMMON = $(RIOTCPU)/atmega_common/ +RAM_LEN = 2K +ROM_LEN = 32K + # CPU depends on the atmega common module, so include it include $(ATMEGA_COMMON)Makefile.include -- GitLab