Skip to content

Commit

Permalink
Merge pull request 'add additional memory section' (#10) from add-sra…
Browse files Browse the repository at this point in the history
…m1-mem-section into main

Reviewed-on: https://egit.irs.uni-stuttgart.de/rust/va416xx-rs/pulls/10
  • Loading branch information
robamu committed Jun 25, 2024
2 parents e1e9763 + 9c9e974 commit 5b23024
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions memory.x
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,12 @@ MEMORY
/* SRAM_0 can be used for all busses: Instruction, Data and System */
/* SRAM_1 only supports the system bus */
_stack_start = ORIGIN(RAM) + LENGTH(RAM);

/* Define sections for placing symbols into the extra memory regions above. */
/* This makes them accessible from code. */
SECTIONS {
.sram1 (NOLOAD) : ALIGN(8) {
*(.sram1 .sram1.*);
. = ALIGN(4);
} > SRAM_1
};

0 comments on commit 5b23024

Please sign in to comment.