数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

ST9 数据表(PDF) 119 Page - STMicroelectronics

部件名 ST9
功能描述  USER GUIDE
PDF  146 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

ST9 数据表(HTML) 119 Page - STMicroelectronics

Back Button ST9 Datasheet HTML 115Page - STMicroelectronics ST9 Datasheet HTML 116Page - STMicroelectronics ST9 Datasheet HTML 117Page - STMicroelectronics ST9 Datasheet HTML 118Page - STMicroelectronics ST9 Datasheet HTML 119Page - STMicroelectronics ST9 Datasheet HTML 120Page - STMicroelectronics ST9 Datasheet HTML 121Page - STMicroelectronics ST9 Datasheet HTML 122Page - STMicroelectronics ST9 Datasheet HTML 123Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 119 / 146 page
background image
119/146
ST9 USER GUIDE
5.4.1.10 INCDIR = ...
This variable must contain the list of directories that contains header files needed by the pro-
gram. Example:
INCDIR = ..\INCLUDE ..\HEADER
5.4.1.11 Make Rules
A Make rule is a statement that both tells which file is dependent on which other file, and the
processing needed in order to update the result file when the source file has changed.
All files written under MS-DOS are marked in the directory with a date/time stamp. This allows
the Make utility to compare dates between files. If a file declared in a rule as being the result
of a source file, and the source file has a later date than that of the result, the result must be
regenerated. For example, in the following rule:
%.o:%.c
$(GCC) $(CFLAGS) $< -o $@
The first line says that any file with extension .c is the source for the corresponding .o file, so
that if the .c file is younger than the .o file, the source file must be recompiled.
The second line says that the compilation is done using GCC9, with the options stored in the
CFLAGS variable, that the input file "$<" is the .c file (source file), and the output file "$@",
specified by option -o, is the target file.
5.4.2 Writing the Linker Command File using a Script File
The linker uses the linker command file(7)(or Script File) to correctly position the code and vari-
ables in the memory spaces. It defines the start and end of the ROM and RAM area(s), and
gives the list of the object files to be linked. It also generates the appropriate labels to allow C
variables to receive their initial values before the program starts.
Once the Script File is written, the only thing you have to do is to add new file names or change
the mapping.
Below is an example of a generic script file for an ST92F150:
MEMORY
{
FLASH0
: ORIGIN = 0x000000, LENGTH = 8K
FLASH1
: ORIGIN = 0x002000, LENGTH = 8K
FLASH2
: ORIGIN = 0x004000, LENGTH = 48K
FLASH3
: ORIGIN = 0x010000, LENGTH = 64K, MMU = IDPR0 IDPR1
(7) ST9 Family GNU Software tools, Second Part: LD9.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com