User manual
116
mikoC PRO for dsPIC
MikroElektronika
CHAPTER 3
mikroC PRO for dsPIC30/33 and 
PIC24 Command Line Options
Usage: mikroCdsPIC.exe [-<opts> [-<opts>]] [<inle> [-<opts>]] [-<opts>]] 
Inle can be of *.c, *.mcl and *.pld type. 
The following parameters 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. 
  -IP <directory> : Add directory to the #include search path list. 
  -N <lename> : Output les generated to le path specied 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. 
  -Y : Dynamic link for string literals. 
  -UICD : ICD build type. 
  -EH <lename> : Full EEPROM HEX le name with path. 
  -LHF : Generate Long hex format. 
  -GC : Generate COFF le. 
Example:
mikroCdsPIC.exe -MSF -DBG -p30F4013 -Y -DL -O11111114 -fo80 -N”C:\Lcd\Lcd.mcpds” -SP”C:\
Program Files\Mikroelektronika\mikroC PRO for dsPIC\Defs” 
        -SP”C:\Program Files\Mikroelektronika\mikroC PRO for dsPIC\Uses” -SP”C:\
Lcd\” “Lcd.c” “__Lib_Math.mcl” “__Lib_MathDouble.mcl” 
              “__Lib_System.mcl” “__Lib_Delays.mcl” “__Lib_LcdConsts.mcl” “__Lib_Lcd.
mcl”










