User manual

114
mikoPascal PRO for dsPIC30/33 and PIC24
MikroElektronika
CHAPTER 3
mikroPascal PRO for dsPIC30/33
and PIC24 Command Line Options
Usage: mPdsPIC.exe [-<opts> [-<opts>]] [<inle> [-<opts>]] [-<opts>]]
Inle can be of *.c, *.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 <lename> : Output les generated to le path specied by lename.
-B <directory> : Save compiled binary les (*.mcl) to ‘directory’.
-O : Miscellaneous output options.
-DBG : Generate debug info.
-L : Check and rebuild new libraries.
-DL : Build all les as libraries.
-UICD : ICD build type.
-EH <lename> : Full EEPROM HEX le name with path.
-Y : Dynamic link for string literals.
-LHF : Generate Long hex format.
-GC : Generate COFF le.
-PF : Pass project le name to command line.
-RA : Rebuild all sources in project.
Example:
mPdsPIC.exe -MSF -DBG -p30F4013 -Y -DL -O11111114 -fo80 -N”C:\Lcd\Lcd.mppds” -SP”C:\
Program Files\Mikroelektronika\mikroPascal PRO for dsPIC\Defs”
-SP”C:\Program Files\Mikroelektronika\mikroPascal 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.mpas”