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

📄 st72f561.lkf

📁 st7单片机关于can总线设计的源程序,使用ST7单片机的很有用
💻 LKF
字号:
#
#******************************************************************************
#COPYRIGHT 2003 STMicroelectronics
#Source File Name : st72f561.lkf
#Group            : MicroController Group
#Author           : MCD Application Team
#Date First Issued: 25/11/03
#********************************Documentation*********************************
#General Purpose - Linker file
#********************************RevisionHistory*******************************
#______________________________________________________________________________
#Date : 25/11/03                           Release : 1.0      
#******************************************************************************/
#
+seg .text -b 0x1000 -n .text	 # program start address
+seg .const -a .text			 # constants follow code
+seg .bsct -b 0x80 -n .bsct 		 # zero page start address
+seg .ubsct -a .bsct -n iram			     # uninitialized zero page
+seg .data -b 0x200 -n .data
+seg .bss -a .data

#------------------------------------------------------------------------------
# define the .share segment when using compact or memory models only (c,m,ml)
#------------------------------------------------------------------------------
+seg .share -a iram -is			 # shared segment
#+seg .shared -b0x1c1 -m0x30 -is # shared segment

			        	       
"C:\COSMIC\st7\Lib\crtsx.st7"   # startup routine
..\..\object\cosmic\main.o      # application program 
#..\..\object\cosmic\io.o  
#..\..\object\cosmic\itc.o
#..\..\object\cosmic\adc.o 
#..\..\object\cosmic\timer.o
#..\..\object\cosmic\mcc.o
#..\..\object\cosmic\sci.o
#..\..\object\cosmic\spi.o
#..\..\object\cosmic\pwmart.o
#..\..\object\cosmic\timer8.o
#..\..\object\cosmic\wdg.o
..\..\object\cosmic\can.o
..\..\object\cosmic\user.o  


#------------------------------------------------------------------------------ 
# float and integer library names depend on the model used
#------------------------------------------------------------------------------
"C:/Cosmic/st7/Lib/libic.st7"
"C:/Cosmic/st7/Lib/libm.st7"

#------------------------------------------------------------------------------
# interrupt vectors
#------------------------------------------------------------------------------
+seg .const -b 0xffe0 -n vector_561
..\..\object\cosmic\vector_561.o

#------------------------------------------------------------------------------
# define the __stack symbol for stack models only
#------------------------------------------------------------------------------
+def __stack=0x100			    # stack page (stack models)
#------------------------------------------------------------------------------
# define these symbols if crtsi or crtsx is used
#------------------------------------------------------------------------------
+def __endzp=@.ubsct			    # end @ of uninitialized zpage
+def __memory=@.bss			    # end @ of bss segment
#******************* (c) 2003  ST Microelectronics *********** END OF FILE ***

⌨️ 快捷键说明

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