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

📄 ldscript_iram_ghs.ld

📁 含t h r e a d x,u c o s 的b s p
💻 LD
字号:
////////////////////////////////////////////////////////////////////////
// 
// Project: SDK7A404 startup code linker file for GHS Multi2000
// 
// Description: 
//     This file implements linker script for the LogicPD SDK7A404 EVB
//     when used with the SDK7A404 startup code.
//
// Notes:
//     This linker script links the image to start at address
//     0xB0000000 in internal memory. This is convienent for testing
//     a bootable image before flashing it, but has a size limit of
//     80Kbytes.
//
////////////////////////////////////////////////////////////////////////
// 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
////////////////////////////////////////////////////////////////////////

// FLASH organization
MEMORY
{
    flash_start  : ORIGIN = 0xB0000000, LENGTH = 80K
    flash_end    : ORIGIN = .,          LENGTH = 0
}

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

// Memory code and data organization
SECTIONS
{
// The text segment
    .arm922t_reset                                      : > flash_start
    .text                                               : > .
    .picbase                                            : > .
    .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 ROM/RAM memory.
// They are used by the MULTI debugger.
//
    __ghs_ramstart  = MEMADDR(flash_start);
    __ghs_ramend    = MEMENDADDR(flash_end);
}

⌨️ 快捷键说明

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