From e0f29d5815a7dd4d45733ce1d661f1df263913d4 Mon Sep 17 00:00:00 2001
From: chenlh <2008get@163.com>
Date: 星期四, 09 十月 2025 15:23:10 +0800
Subject: [PATCH] 第一轮测试OK版提交

---
 system/startup_ldf/app.ldf |   19 +++++++++++++------
 1 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/system/startup_ldf/app.ldf b/system/startup_ldf/app.ldf
index ad87259..3bd4c77 100644
--- a/system/startup_ldf/app.ldf
+++ b/system/startup_ldf/app.ldf
@@ -1,8 +1,12 @@
 /*
-** ADSP-21569 linker description file generated on Jul 17, 2025 at 13:46:52.
+<<<<<<< HEAD
+** ADSP-21569 linker description file generated on Sep 05, 2025 at 15:48:19.
+=======
+** ADSP-21569 linker description file generated on Jul 24, 2025 at 14:17:30.
+>>>>>>> 0d5b7df96a2ee186b7b085dca9cf9a33f791c430
 */
 /*
-** Copyright (C) 2000-2022 Analog Devices Inc., All Rights Reserved.
+** Copyright (C) 2000-2023 Analog Devices Inc., All Rights Reserved.
 **
 ** This file is generated automatically based upon the options selected
 ** in the System Configuration utility. Changes to the LDF configuration
@@ -15,7 +19,7 @@
 ** placed within these sections are preserved when this file is re-generated.
 **
 ** Product      : CrossCore Embedded Studio
-** Tool Version : 6.2.3.3
+** Tool Version : 6.2.5.2
 */
 
 ARCHITECTURE(ADSP-21569)
@@ -273,7 +277,7 @@
       // Stack and heap initial memory reserve.
       dxe_block0_stack_and_heap_reserve NO_INIT BW
       {
-         RESERVE(heaps_and_system_stack_in_L1, heaps_and_system_stack_in_L1_length = 32768, 8)
+         RESERVE(heaps_and_system_stack_in_L1, heaps_and_system_stack_in_L1_length = 189440, 8)
       } > mem_block0_bw
       
       // Highest priority (prio0) data and code.
@@ -1594,8 +1598,11 @@
          INPUT_SECTION_ALIGN(4)
          RESERVE_EXPAND(heaps_and_system_stack_in_L1, heaps_and_system_stack_in_L1_length, 0, 8)
          ldf_stack_space = heaps_and_system_stack_in_L1;
-         ldf_stack_end = (ldf_stack_space + (heaps_and_system_stack_in_L1_length - 8));
+         ldf_stack_end = (ldf_stack_space + (((heaps_and_system_stack_in_L1_length * 57344) / 189440) - 8));
          ldf_stack_length = ldf_stack_end - ldf_stack_space;
+         L1mem_space = ldf_stack_end + 8;
+         L1mem_end = (L1mem_space + (((heaps_and_system_stack_in_L1_length * 132096) / 189440) - 8));
+         L1mem_length = L1mem_end - L1mem_space;
       } > mem_block0_bw
       
       dxe_l2_stack_and_heap_expand NO_INIT BW
@@ -1620,7 +1627,7 @@
          /*$VDSG<insert-input-sections-at-the-start-of-dxe_sdram_stack_and_heap>  */
          
          RESERVE_EXPAND(heaps_and_system_stack_in_L3, heaps_and_system_stack_in_L3_length, 0, 8)
-         DDRHeap_space = heaps_and_system_stack_in_L3;
+         DDRHeap_space = heaps_and_system_stack_in_L3 + 8;
          DDRHeap_end = (DDRHeap_space + (heaps_and_system_stack_in_L3_length - 8));
          DDRHeap_length = DDRHeap_end - DDRHeap_space;
       } > SDRAM_STACK_HEAP_BLOCK

--
Gitblit v1.9.3