From 7d87911f6fa07ea6609128e70f07ce12023d6df0 Mon Sep 17 00:00:00 2001 From: hathach Date: Thu, 29 Jun 2017 12:55:05 +0700 Subject: [PATCH] add linker description --- variants/feather52/feather52_s132.ld | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/variants/feather52/feather52_s132.ld b/variants/feather52/feather52_s132.ld index 9157109c..70ab237c 100755 --- a/variants/feather52/feather52_s132.ld +++ b/variants/feather52/feather52_s132.ld @@ -7,20 +7,20 @@ MEMORY { FLASH (rx) : ORIGIN = 0x1c000, LENGTH = 0x64000 - /* ATTR SIZE = 0x0580, (central, prph, sec) = (0, 1, 0) */ - /* RAM (rwx) : ORIGIN = 0x20002080, LENGTH = 0xdf80 */ - - /* ATTR SIZE = 0x1000, (central, prph, sec) = (0, 1, 0) */ - /* RAM (rwx) : ORIGIN = 0x20002B00, LENGTH = 0xD500 */ + /* SRAM required by S132 depend on + * - Attribute Table Size + * - Number of concurrent connection central + peripherl + secure links + * Several configuration with different SRAM config is included for reference + */ /* ATTR SIZE = 0x0B00, (central, prph, sec) = (0, 1, 0) */ - /*RAM (rwx) : ORIGIN = 0x20001B00 + 0x0B00, LENGTH = 0xE500 - 0x0B00*/ + /* RAM (rwx) : ORIGIN = 0x20001B00 + 0x0B00, LENGTH = 0xE500 - 0x0B00 */ /* ATTR SIZE = 0x0B00, (central, prph, sec) = (4, 1, 1) */ - RAM (rwx) : ORIGIN = 0x20001B00 + 0x0B00 + 0x1280, LENGTH = 0xE500 - 0x0B00 - 0x1280 + RAM (rwx) : ORIGIN = 0x20001B00 + (0x0B00 + 0x1280), LENGTH = 0xE500 - (0x0B00 + 0x1280) /* ATTR SIZE = 0x0B00, (central, prph, sec) = (7, 1, 1) */ - /* RAM (rwx) : ORIGIN = 0x20001B00 + 0x0B00 + 0x1F08, LENGTH = 0xE500 - 0x0B00 - 0x1F08 */ + /* RAM (rwx) : ORIGIN = 0x20001B00 + (0x0B00 + 0x1F08), LENGTH = 0xE500 - (0x0B00 + 0x1F08) */ } SECTIONS