⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ldscript_ram_ghs.ld

📁 含t h r e a d x,u c o s 的b s p
💻 LD
字号:
////////////////////////////////////////////////////////////////////////
// 
// Project: SDK7A404 example code linker file for GHS Multi2000
// 
// Description: 
//     This file implements a linker script for the LogicPD SDK7A404 EVB
//     when used with the SDK7A404 example code.
//
// Notes:
//     This linker script defines an image that executes starting at
//     address 0xC00C0000.
//
////////////////////////////////////////////////////////////////////////
// SHARP MICROELECTRONICS OF THE AMERICAS MAKES NO REPRESENTATION
// OR WARRANTIES WITH RESPECT TO THE PERFORMANCE OF THIS SOFTWARE,
// AND SPECIFICALLY DISCLAIMS ANY RESPONSIBILITY FOR ANY DAMAGES, 
// SPECIAL OR CONSEQUENTIAL, CONNECTED WITH THE USE OF THIS SOFTWARE.
//
// SHARP MICROELECTRONICS OF THE AMERICAS PROVIDES THIS SOFTWARE SOLELY 
// FOR THE PURPOSE OF SOFTWARE DEVELOPMENT INCORPORATING THE USE OF A 
// SHARP MICROCONTROLLER OR SYSTEM-ON-CHIP PRODUCT. USE OF THIS SOURCE
// FILE IMPLIES ACCEPTANCE OF THESE CONDITIONS.
//
// COPYRIGHT (C) 2001 SHARP MICROELECTRONICS OF THE AMERICAS, INC.
//     CAMAS, WA
////////////////////////////////////////////////////////////////////////

// Memory organization
MEMORY {
    dram_rsvd1   : ORIGIN = 0xC0000000, LENGTH = 0xC0000
    dram_memory  : ORIGIN = .,          LENGTH = 31M - 0xC0000
    dram_mmu     : ORIGIN = .,          LENGTH = 1M
    dram_end     : ORIGIN = .,          LENGTH = 0x0000
}

// Heap and stack size
CONSTANTS
{
    heap_reserve = 1M
    stack_reserve = 512K
}

// Memory code and data organization
SECTIONS
{
//
// The text segment
//

    .picbase                                            : > dram_memory
    .text                                               : > .
    .syscall                                            : > .
    .intercall                                          : > .
    .interfunc                                          : > .
    .fixaddr                                            : > .
    .fixtype                                            : > .
    .rodata                                             : > .
    .secinfo                                            : > .

//
// The data segment
//

    .pidbase                                  ALIGN(16) : > .
    .sdabase                                            : > .
    .sbss                                               : > .
    .sdata                                              : > .
    .data                                               : > .
    .bss                                                : > .
    .heap                  ALIGN(16) PAD(heap_reserve)  : > .
    .stack                 ALIGN(16) PAD(stack_reserve) : > .
//
// These special symbols mark the bounds of RAM memory.
// They are used by the MULTI debugger.
//
    __ghs_ramstart  = MEMADDR(dram_rsvd1);
    __ghs_ramend    = MEMENDADDR(dram_end);
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -