Mikroelektronika MIKROE-442 데이터 시트
114
mikoBasic PRO for dsPIC30/33 and PIC24
MikroElektronika
CHAPTER 3
mikroBasic PRO for dsPIC30/33
and PIC24 Command Line Options
Usage:
mBdsPIC.exe [-<opts> [-<opts>]] [<infile> [-<opts>]] [-<opts>]]
Infile can be of
*.mbas, *.mcl
and
*.pld
type.
The following parameters and some more (see manual) are valid:
-P <devicename>
: MCU for which compilation will be done.
-FO <oscillator>
: Set oscillator [in MHz].
-SP <directory>
: Add directory to the search path list.
-N <filename>
: Output files generated to file path specified by filename.
-B <directory>
: 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.
-UICD
: ICD build type.
-EH <filename>
: Full EEPROM HEX file name with path.
-Y
: Dynamic link for string literals.
-LHF
: Generate Long hex format.
-GC
: Generate COFF file.
-PF
: Project file name.
-RA
: Rebuild all sources in project.
Example:
mBdsPIC.exe -MSF -DBG -p30F4013 -Y -DL -O11111114 -fo80 -N”C:\Lcd\Lcd.mbpds” -SP”C:\
Program Files\Mikroelektronika\mikroBasic PRO for dsPIC\Defs”
-SP”C:\Program Files\Mikroelektronika\mikroBasic PRO for dsPIC\Uses” -SP”C:\
Lcd\” “__Lib_Math.mcl” “__Lib_MathDouble.mcl”
“__Lib_System.mcl” “__Lib_Delays.mcl” “__Lib_LcdConsts.mcl” “__Lib_Lcd.
mcl” “Lcd.mbas”