In Keil, you dont have separate modes for Debug and Release. You can have the .hex file generated in case of Debugging also, by choosing the option under Output tab in Target options.
Looks uVision doesn't support this type of Build Configurations.
Please see the following URL : Debug/release configuration
This should help you in achieving Debug / Release configurations.
The target options needs to be customized for different targets to achieve this.
Thank You & Regards,
the target options needs to be customized for different targets to achieve this.
can you please tell me how to set target options?
Right click on the target name in the project window and choose 'Options for Target <TargetName>'.
Once you created a new target, each target has its own option tab as shown below.
You have to go to each available tab and whatever options you would like to enable you can activate for that particular target.
For example in C51 tab there under Code Optimization uV2 has two options, one is Favor Speed and other is Favor size.
So, for one of the target you can use this option as Favor Speed and for other target you can use this options as Favor Speed.
Like in fx3 sdk.there is a option for selecting debug and release version mode build.is there anything same in the keiluvision2 ?
what you are saying is for code optimisation,please tell me clearly.