mikroBasic PRO for dsPIC30/33 and PIC24 Command Line Options
Usage: mBdsPIC.exe [-<opts> [-<opts>]] [<infile> [-<opts>]] [-<opts>]]
Infile can be of *.mbas
, *.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 <filename>
: Output files generated to file path specified by filename.-B <directory>
: 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
: ICD build type.-EH <filename>
: 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.-RA
: Rebuild all sources in project.
mBdsPIC.exe -MSF -DBG -p30F4013 -Y -DL -O11111114 -fo80 -N"C:\Lcd\Lcd.mbpds" -SP"C:\Program Files\Mikroelektronika\mikroBasic PRO for dsPIC\Defs"      -SP"C:\Program Files\Mikroelektronika\mikroBasic 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.mbas"
Parameters used in the example:
-MSF :
Short Message Format; used for internal purposes by IDE.-DBG :
Generate debug info.-p30F4013 :
MCU 30F4013 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.mbpds" -SP"C:\Program Files\Mikroelektronika\mikroBasic PRO for dsPIC\Defs" :
Output files generated to file path specified by filename.-SP"C:\Program Files\Mikroelektronika\mikroBasic PRO for dsPIC\Defs" :
Add directory to the search path list.-SP"C:\Program Files\Mikroelektronika\mikroBasic PRO for dsPIC\Uses" :
Add directory to the search path list.-SP"C:\Lcd\" :
Add directory to the search path list."Lcd.mbas" "__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!