This repository has been archived on 2026-06-22. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
muellerr 0e8ddaf477
ci / Check formatting (push) Has been cancelled
ci / Check Documentation Build (push) Has been cancelled
ci / Clippy (push) Has been cancelled
ci / Check formatting (pull_request) Has been cancelled
ci / Check Documentation Build (pull_request) Has been cancelled
ci / Clippy (pull_request) Has been cancelled
ci / Check build (push) Has been cancelled
ci / Check build (pull_request) Has been cancelled
update memory layout of examples
2026-06-12 11:40:28 +02:00

30 lines
810 B
Plaintext

MEMORY
{
/* Zedboard: 512 MB DDR3. Only use 62 MB for now, should be plenty for a bare-metal app.
1 MB stack memory and 1 MB of memory which will be configured as uncached device memory by the
MMU. This is recommended for something like DMA descriptors. */
OCM : ORIGIN = 0x00000000, LENGTH = 192K
DDR : ORIGIN = 0x00100000, LENGTH = 63M
OCM_UPPER(rx): ORIGIN = 0xFFFF0000, LENGTH = 64K
UNCACHED : ORIGIN = ORIGIN(DDR) + LENGTH(DDR), LENGTH = 1M
}
REGION_ALIAS("VECTORS", OCM);
REGION_ALIAS("CODE", OCM);
REGION_ALIAS("DATA", DDR);
REGION_ALIAS("STACKS", DDR);
SECTIONS
{
/* Uncached memory */
.uncached (NOLOAD) : ALIGN(4) {
. = ALIGN(4);
_sbss_uncached = .;
*(.uncached .uncached.*);
. = ALIGN(4);
_ebss_uncached = .;
} > UNCACHED
}
PROVIDE(_sys_stack_size = 1M);