From b1154a4a42e154bb4293cd0356525969f1afa4ef Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 14 Jun 2015 08:48:25 -0600 Subject: [PATCH] SAML21: Add DMA descriptor management logic --- configs/saml21-xplained/scripts/flash.ld | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configs/saml21-xplained/scripts/flash.ld b/configs/saml21-xplained/scripts/flash.ld index 51bda76bb3..f97540fff4 100755 --- a/configs/saml21-xplained/scripts/flash.ld +++ b/configs/saml21-xplained/scripts/flash.ld @@ -34,13 +34,15 @@ ****************************************************************************/ /* The ATSAML21J18A has 256KB of FLASH beginning at address 0x0000:0000 and - * 32KB of SRAM beginning at address 0x2000:0000 + * 32KB of SRAM beginning at address 0x2000:0000. There is also 8KB low- + * power SRAM at 0x30000000 that may be used by the DMAC. */ MEMORY { flash (rx) : ORIGIN = 0x00000000, LENGTH = 256K sram (rwx) : ORIGIN = 0x20000000, LENGTH = 32K + lpram (rw) : ORIGIN = 0x30000000, LENGTH = 8K } OUTPUT_ARCH(arm) @@ -107,6 +109,10 @@ SECTIONS _ebss = ABSOLUTE(.); } > sram + .lpram : { + *(.lpram) + } > lpram + /* Stabs debugging sections. */ .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) }