mikroBasic PRO for 8051 Command Line Options
Usage: mB8051 [-'opts' [-'opts']] ['infile' [-'opts']] [-'opts']]
Infile can be of *.mbas
and *.mcl
type.
-
The following parameters and some more (see manual) are valid:
- P
: MCU for which compilation will be done.
- FO
: Set oscillator.
- 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.
- E
: Set memory model opts ( S | C | L (small, compact, large)
).
- L
: Check and rebuild new libraries.
- C
: Turn on case sensitivity.
- PLL
: PLL factor.
mB8051.exe -MSF -DBG -pAT89S8253 -ES -O11111114 -fo10 -N"C:\Lcd\Lcd.mbp51" -SP"C:\Program Files\Mikroelektronika\mikroBasic PRO for 8051\defs\"      -SP"C:\Program Files\Mikroelektronika\mikroBasic PRO for 8051\uses\"      -SP"C:\Lcd\" "Lcd.mbas" "System.mcl" "Math.mcl" "Math_Double.mcl" "Delays.mcl" "__Lib_Lcd.mcl" "__Lib_LcdConsts.mcl"
Parameters used in the example:
-MSF :
Short Message Format; used for internal purposes by IDE.-DBG :
Generate debug info.-pAT89S8253 :
MCU AT89S8253 selected.-ES :
Set small memory model.-O11111114 :
Miscellaneous output options.-fo10 :
Set oscillator frequency [in MHz].-N"C:\Lcd\Lcd.mbp51" -SP"C:\Program Files\Mikroelektronika\mikroBasic PRO for 8051\defs\" :
Output files generated to file path specified by filename.-SP"C:\Program Files\Mikroelektronika\mikroBasic PRO for 8051\defs\" :
Add directory to the search path list.-SP"C:\Program Files\Mikroelektronika\mikroBasic PRO for 8051\uses\" :
Add directory to the search path list.-SP"C:\Lcd\" :
Add directory to the search path list."Lcd.mbas" "System.mcl" "Math.mcl" "Math_Double.mcl" "Delays.mcl" "__Lib_Lcd.mcl" "__Lib_LcdConsts.mcl" :
Specify input files.
Copyright (c) 2002-2013 mikroElektronika. All rights reserved.
What do you think about this topic ? Send us feedback!
What do you think about this topic ? Send us feedback!