mikroPascal PRO for PIC Command Line Options
Usage: mPPIC.exe [-<opts> [-<opts>]] [<infile> [-<opts>]] [-<opts>]]
<infile> can be of *.mpas, *.mcl and *.pld type.
The following options 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.-UICD: Build for mikroICD.-EH: 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.
mPPIC.exe -MSF -DBG -p16F887 -O11111114 -fo8 -N"C:\Lcd\Lcd.mpppi" -SP"C:\Program Files\Mikroelektronika\mikroPascal PRO for PIC\Defs\"
     -SP"C:\Program Files\Mikroelektronika\mikroPascal PRO for PIC\Uses\P16\" -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.-p16F887 :MCU 16F887 selected.-O11111114 :Miscellaneous output options :- 1. Generate ASM file, valid values 0 or 1.
- 2. Include HEX opcodes, valid values 0 or 1.
- 3. Include ROM constants, valid values 0 or 1.
- 4. Include ROM addresses, valid values 0 or 1.
- 5. Generate LST file, valid values 0 or 1.
- 6. Include Debug Info, valid values 0 or 1.
- 7. Include Source Lines in Output Files, valid values 0 or 1.
- 8. The optimization level, valid values from 0 to 5.
-fo8 :Set oscillator frequency [in MHz].-N"C:\Lcd\Lcd.mpppi" -SP"C:\Program Files\Mikroelektronika\mikroPascal PRO for PIC\defs\" :Output files generated to file path specified by filename.-SP"C:\Program Files\Mikroelektronika\mikroPascal PRO for PIC\Defs\" :Add directory to the search path list.-SP"C:\Program Files\Mikroelektronika\mikroPascal PRO for PIC\Uses\P16\" :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.
Copyright (c) 2002-2012 mikroElektronika. All rights reserved.
What do you think about this topic ? Send us feedback!
What do you think about this topic ? Send us feedback!



