Hello,
I have two startup files at my project because I like to produce code for two different MCs. How can I choose the right one? Within the C-code I can use directives, but I don't know how it works within startup files.
Thanks for your help!
Joerg
Create two separate Targets within your uVision Project - each one uses exactly one of the startup files...
I have two targets. But I can not specify the files for the target. The files are in each target the same. If I remove one file from one target, it is also removed at the other target.
give them different names, then.
The startup files have different names. Whatever I do, the files are in each project the same.
I solved the problem. The check boxes "Include in Target Build" and "Always Build" have to be unchecked for the startup file you do not want to use for your target. Then choose the other target and do it the same way.
Yes, that's the way to do it!
See also: http://www.keil.com/forum/docs/thread7095.asp
And: http://www.keil.com/forum/docs/thread4651.asp
:-)
Hi,
It is great that I just learned one new thing from this topic.
But I have found another question. The check boxes of "Include in Target Build" and "Always Build" have three statuses: unchecked, checked, gray checked. What is the difference between checked and gray checked?
I can not find the answer from the IDE helper.
See the 5th post in this thread: http://www.keil.com/forum/docs/thread14100.asp
Thank you.
> Checked with a "grey" check: The setting is inherited > from the Group or Project options;