Skip to content

Commit

Permalink
cpu/atmega1281: configure RAM and ROM length
Browse files Browse the repository at this point in the history
Info taken from https://www.microchip.com/wwwproducts/en/atmega1281

TODO: update "board not enough memory".
  • Loading branch information
cladmi committed Sep 5, 2018
1 parent b22832b commit ef20b03
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cpu/atmega1281/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ef20b03

Please sign in to comment.