cftest.lnk

来自「德国Hyperstone公司dsp的CF卡驱动程序」· LNK 代码 · 共 39 行

LNK
39
字号
;============================================================================;
; Project:     hyperstone ANSI C Compiler - MP3 Project                      ;
; File:        MP3.LNK                                                       ;
; Copyright:   hyperstone AG Taiwan                                          ;
;                                                                            ;
;              Taipei, Taiwan, R.O.C.                                        ;
; Date:        September 10, 1999                                            ;
;============================================================================;
; Description: Linker command file for sample file test                      ;
;============================================================================;
IRAMSIZE = 8k

;----------------------------------------------------------------------------;
; Define program name, object modules and libraries used                     ;
;----------------------------------------------------------------------------;
cftest.hye = cftest.o, hy_os.o, root.o, hydir.o, findfile.o \
	 ide_disk.o, ioctrl.o, idedebug.o, f12to16.obj, startup.obj, crtl.lib hydsp.lib

;mp3.hye = mp3.o, musicout.o common.o, decode.o, huffman.o, opti.o \
;  layer1.o layer2.o layer3.o mdct.o fft.o startup.obj, crtl.lib hydsp.lib
;----------------------------------------------------------------------------;
; Order segments and locate whole program at address $8000                   ;
;----------------------------------------------------------------------------;
order  iramcode, iramtext
ORDER  code, text, far_bss
;ORDER code, text                ; code segment before text segment

LOCATE code at $8000            ;(MEM0)
LOCATE iramcode at $C0000000    ;(IRAM)
;LOCATE far_bss at $40000000     ;(MEM1)

;----------------------------------------------------------------------------;
; Define program priority and stack sizes                                    ;
;----------------------------------------------------------------------------;
DEFINE Priority = 31
DEFINE Stack1Size = 10*2048      ; size of hardware stack
DEFINE Stack2Size = 40*2048      ; size of aggregate stack

⌨️ 快捷键说明

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