scat_st71x_ram.scf

来自「This project should serve as an "easy st」· SCF 代码 · 共 63 行

SCF
63
字号
;;**********************************************************************
;;*                SEGGER MICROCONTROLLER SYSTEME GmbH                 *
;;*        Solutions for real time microcontroller applications        *
;;**********************************************************************
;;*                                                                    *
;;*        (C) 2002-2004  SEGGER Microcontroller Systeme GmbH          *
;;*                                                                    *
;;*        www.segger.com         Support: support@segger.com          *
;;*                                                                    *
;;**********************************************************************
;;
;;----------------------------------------------------------------------
;;File        : scat_STR71x_RAM.scf
;;Purpose     : Scatter file for use with ST STR71x to run in internal RAM
;;---------------------------END-OF-HEADER------------------------------
;;

;
; This scatterloading descriptor file defines:
; one load region (STR71x) and a number of execution regions
; (FLASH & XRAM etc.)
;
;
;
; The region HEAP is used to locate the bottom of the heap
; The heap will grow up from this address
;
; The region STACKS is used to locate the top of the memory used to store
; the stacks for each mode. The stacks will grow down from this address
;

STR71x 0x20000000 0x1000000
{
;          Addr.         Flags          Len
    FLASH 0x20000000                0x0000AFFF
    {
        vectors.o (Vect, +First)
        init*.o (Init)
        * (+RO)
    }

;          Addr.         Flags          Len
    XRAM 0x2000B000                 0x00005000
    {
        * (+RW,+ZI)
    }

;          Addr.         Flags          Len
    HEAP   +0x0         UNINIT
    {
        heap.o (+ZI)
    }

;            Addr.       Flags          Len
    STACKS +0x1000       UNINIT
    {
        stack.o (+RW, +ZI)
    }


}

⌨️ 快捷键说明

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