mikroPascal PRO for ARM Command Line Options
Usage: mppar.exe [-<opts> [-<opts>]] [<infile> [-<opts>]] [-<opts>]]
Infile can be of *.mpas
, *.emcl
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.-N <filename>
: Full project file name with path.-B <directory>
: Save compiled binary files (*.emcl
) to 'directory'.-O
: Miscellaneous output options.-DBG
: Generate debug info needed for simulator and Hardware Debugger.-MSF
: Short message format.-Y
: Dynamic link for string literals.-RA
: Rebuild all sources in project.-L
: Check and rebuild libraries if needed.-DL
: Build all files as libraries in order to distribute MCLs without sources.-LHF
: Long hex format.-PF
: Project file name.-EH <filename>
: Full EEPROM HEX file name with path.-HEAP <size>
: Heap size in bytes.-PF
: Project file name.-SSA
: Enable SSA optimization.-UICD
: Build for Hardware Debugger.-BIN
: Generate binary file.
Example:
mppar.exe -MSF -DBG -pLM3S9B95 -Y -DL -O11111114 -fo80 -N"C:\Lcd\Lcd.mppar" -SP"C:\Program Files\Mikroelektronika\mikroPascal PRO for ARM\Defs"      -SP"C:\Program Files\Mikroelektronika\mikroPascal PRO for ARM\Uses" -SP"C:\Lcd\" "__Lib_Math.emcl" "__Lib_MathDouble.emcl"      "__Lib_System.emcl" "__Lib_Delays.emcl" "__Lib_LcdConsts.emcl" "__Lib_Lcd.emcl" "Lcd.mpas"
Parameters used in the example:
-MSF :
Short Message Format; used for internal purposes by IDE.-DBG :
Generate debug info.-pLM3S9B95 :
MCU selected.-Y :
Dynamic link for string literals enabled.-DL :
All files built as libraries.-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.
-fo80 :
Set oscillator frequency [in MHz].-N"C:\Lcd\Lcd.mppar" -SP"C:\Program Files\Mikroelektronika\mikroPascal PRO for ARM\Defs" :
Output files generated to file path specified by filename.-SP"C:\Program Files\Mikroelektronika\mikroPascal PRO for ARM\Defs" :
Add directory to the search path list.-SP"C:\Program Files\Mikroelektronika\mikroPascal PRO for ARM\Uses" :
Add directory to the search path list.-SP"C:\Lcd\" :
Add directory to the search path list."Lcd.mpas" "__Lib_Math.emcl" "__Lib_MathDouble.emcl" "__Lib_System.emcl" "__Lib_Delays.emcl" "__Lib_LcdConsts.emcl" "__Lib_Lcd.emcl" :
Specify input files.