Mikroelektronika MIKROE-742 데이터 시트

다운로드
페이지 532
MIKROPASCAL PRO FOR AVR COMMAND LINE OPTIONS
Usage: 
mPAvr.exe [-<opts> [-<opts>]] [<infile> [-<opts>]] [-<opts>]]
Infile can be of
*.mpas and *.mcl type
The following parameters and some more (see manual) are valid: 
-P
: MCU for which compilation will be done. 
-FO
: Set oscillator [in MHz]. 
-SP
: Add directory to the search path list. 
-N
: Output files generated to file path specified by filename. 
-B
: Save compiled binary files (
*.mcl
) to 'directory'. 
-O
: Miscellaneous output options. 
-DBG
: Generate debug info. 
-L
: Check and rebuild new libraries. 
-DL
: Build all files as libraries. 
-Y
: Dynamic link for string literals. 
Example: 
mPAvr.exe -MSF -DBG -pATMEGA16 -O11111114 -fo8 -
N"C:\Lcd\Lcd.mppav" -SP"C:\Program
Files\Mikroelektronika\mikroPascal PRO for AVR\Defs\" 
-SP"C:\Program Files\Mikroelektronika\mikroPascal PRO
for AVR\Uses\LTE64KW\" -SP"C:\Lcd\" "Lcd.mpas" "__Lib_Math.mcl"
"__Lib_MathDouble.mcl" 
"__Lib_System.mcl" "__Lib_Delays.mcl"
"__Lib_LcdConsts.mcl" "__Lib_Lcd.mcl"
Parameters used in the example: 
-MSF
: Short Message Format; used for internal purposes by IDE. 
-DBG
: Generate debug info. 
-pATMEGA16
: MCU ATMEGA16 selected. 
-O11111114
: Miscellaneous output options. 
-fo8
: Set oscillator frequency [in MHz]. 
-N"C:\Lcd\Lcd.mppav" -SP"C:\Program
Files\Mikroelektronika\mikroPascal PRO for AVR\defs\"
: Output files gen-
erated to file path specified by filename. 
-SP"C:\Program Files\Mikroelektronika\mikroPascal PRO for AVR\Defs\"
: Add directory to the search path list. 
-SP"C:\Program Files\Mikroelektronika\mikroPascal PRO for
AVR\Uses\LTE64KW\" 
: Add directory to the search path list. 
-SP"C:\Lcd\"
: Add directory to the search path list. 
"Lcd.mpas" "__Lib_Math.mcl" "__Lib_MathDouble.mcl"
"__Lib_System.mcl"
"__Lib_Delays.mcl" "__Lib_LcdConsts.mcl"
"__Lib_Lcd.mcl" 
: Specify input files. 
72
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Environment
mikroPASCAL PRO for AVR
CHAPTER 2