Skip to content

Commit c430027

Browse files
authored
Merge pull request #14 from jacobrosenthal/ccram
memory.x comments to explain cccram option
2 parents a6316c4 + 4a84e0d commit c430027

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

memory.x

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,14 @@ MEMORY
33
/* NOTE K = KiBi = 1024 bytes */
44
FLASH : ORIGIN = 0x08000000, LENGTH = 1M
55
RAM : ORIGIN = 0x20000000, LENGTH = 128K
6+
CCRAM : ORIGIN = 0x10000000, LENGTH = 64K
67
}
78

89
/* This is where the call stack will be allocated. */
910
/* The stack is of the full descending type. */
1011
/* NOTE Do NOT modify `_stack_start` unless you know what you are doing */
1112
_stack_start = ORIGIN(RAM) + LENGTH(RAM);
13+
14+
/* Advanced users can place the stack inthe CCRAM */
15+
/* which is smaller but faster. */
16+
/* _stack_start = ORIGIN(CCRAM) + LENGTH(CCRAM); */

0 commit comments

Comments
 (0)