From 7229ff41508b0b399757372e04ec68539d3a5391 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Fri, 30 May 2025 11:53:28 +0200 Subject: [PATCH] memory.x fixes --- memory.x | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/memory.x b/memory.x index 91fe975..e6d6958 100644 --- a/memory.x +++ b/memory.x @@ -4,20 +4,20 @@ MEMORY /* Zedboard: 512 MB DDR3. Only use 63 MB for now, should be plenty for a bare-metal app. Leave 1 MB of memory which will be configured as uncached device memory by the MPU. This is recommended for something like DMA descriptors. */ - CODE(rx) : ORIGIN = 0x00100000, LENGTH = 63MB - UNCACHED(rx): ORIGIN = 0x4000000, LENGTH = 1MB + CODE(rx) : ORIGIN = 0x00100000, LENGTH = 63M + UNCACHED(rx): ORIGIN = 0x4000000, LENGTH = 1M } REGION_ALIAS("DATA", CODE); SECTIONS { - .uncached: ALIGN(4) + .uncached : ALIGN(4) { . = ALIGN(4); _start_uncached = .; *(.uncached .uncached.*); . = ALIGN(4); _end_uncached = .; - } > UNCACHED; + } > UNCACHED }