Merge pull request 'add additional memory section' (#10) from add-sram1-mem-section into main
All checks were successful
Rust/va416xx-rs/pipeline/head This commit looks good
All checks were successful
Rust/va416xx-rs/pipeline/head This commit looks good
Reviewed-on: #10
This commit is contained in:
commit
5b23024108
9
memory.x
9
memory.x
@ -12,3 +12,12 @@ MEMORY
|
|||||||
/* SRAM_0 can be used for all busses: Instruction, Data and System */
|
/* SRAM_0 can be used for all busses: Instruction, Data and System */
|
||||||
/* SRAM_1 only supports the system bus */
|
/* SRAM_1 only supports the system bus */
|
||||||
_stack_start = ORIGIN(RAM) + LENGTH(RAM);
|
_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
|
||||||
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user