mikroPascal PRO for FT90x Command Line Options
Usage: mPFT90x.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 <directoryglt; 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:
mPFT90x.exe -MSF -DBG -p FT900 -BIN -DL -O11111114 -fo100 -N"C:\Lcd\Lcd.mppf9" -SP"C:\Program Files\Mikroelektronika\mikroPascal PRO for FT90x\Defs"
     -SP"C:\Program Files\Mikroelektronika\mikroPascal PRO for FT90x\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.-p FT900 :MCU selected.-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.
-fo100 :Set oscillator frequency [in MHz].-N"C:\Lcd\Lcd.mppf9" -SP"C:\Program Files\Mikroelektronika\mikroPascal PRO for FT90x\Defs" :Output files generated to file path specified by filename.-SP"C:\Program Files\Mikroelektronika\mikroPascal PRO for FT90x\Defs" :Add directory to the search path list.-SP"C:\Program Files\Mikroelektronika\mikroPascal PRO for FT90x\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.
Copyright (c) 2002-2015 mikroElektronika. All rights reserved.
What do you think about this topic ? Send us feedback!
What do you think about this topic ? Send us feedback!



