From ab07ada908b82340e7acd899e85a9802cf8a9057 Mon Sep 17 00:00:00 2001
From: chenlh <2008get@163.com>
Date: 星期四, 18 九月 2025 14:09:22 +0800
Subject: [PATCH] 首轮测试版代码常规上传

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

diff --git a/system/startup_ldf/app.ldf b/system/startup_ldf/app.ldf
index ad87259..159dc57 100644
--- a/system/startup_ldf/app.ldf
+++ b/system/startup_ldf/app.ldf
@@ -1,8 +1,8 @@
 /*
-** ADSP-21569 linker description file generated on Jul 17, 2025 at 13:46:52.
+** ADSP-21569 linker description file generated on Sep 05, 2025 at 15:48:19.
 */
 /*
-** 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 +15,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 +273,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 +1594,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 +1623,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