From 1ac2340f684bf8c0b05fb571f5994b0755050671 Mon Sep 17 00:00:00 2001
From: chenlh <2008get@163.com>
Date: 星期四, 29 一月 2026 15:22:04 +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..3ebe8db 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 Oct 28, 2025 at 17:44:48.
 */
 /*
-** 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