va416xx-rs/memory.x

15 lines
536 B
Plaintext
Raw Normal View History

2021-12-07 01:19:10 +01:00
MEMORY
{
2021-12-07 11:56:18 +01:00
FLASH : ORIGIN = 0x00000000, LENGTH = 256K
2021-12-07 01:19:10 +01:00
/* RAM is a mandatory region. This RAM refers to the SRAM_0 */
2021-12-07 11:56:18 +01:00
RAM : ORIGIN = 0x1FFF8000, LENGTH = 32K
SRAM_1 : ORIGIN = 0x20000000, LENGTH = 32K
2021-12-07 01:19:10 +01:00
}
/* This is where the call stack will be allocated. */
/* The stack is of the full descending type. */
/* NOTE Do NOT modify `_stack_start` unless you know what you are doing */
/* 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);