blob: 906aaaab4271b0bfc562f407e0f3977f4b4d1303 [file] [log] [blame] [edit]
/* Layout for the RISC-V 32 boards, used by the examples in this repository. */
MEMORY {
/*
* The TBF header can change in size so use 0x40 combined with
* --protected-region-size with elf2tab to cover a header upto that
* size.
*
* Note that the SRAM address may need to be changed depending on
* the kernel binary, check for the actual address of APP_MEMORY!
*/
FLASH (rx) : ORIGIN = 0x20080040, LENGTH = 0x80000 - 0x40
SRAM (rwx) : ORIGIN = 0x10007800, LENGTH = 0x18800
}
MPU_MIN_ALIGN = 1K;
INCLUDE layout_generic.ld