Today I created 6 new projects to run under uVision 3. Every time I had to:
============================================================ Gary Lynch | To send mail, change no$pam in lynchg@no$pam.com | my domain name to stacoenergy
"Erm.. a project definition is just a single file (the other one is just desktop settings --- it doesn't really hurt to lose it)." Actually, for C51 projects, the XTAL value is in the .opt file. :-( This is generally not too important, but worth noting. The .opt file also contains your custom file extension definitions, and possibly also custom Books, etc. If you "lose" the .opt file, you will have to re-do all those settings - I generally want the same (or very similar) settings for these options, so I do need to copy both the .uv2 and the .opt file.
Erm.. a project definition is just a single file (the other one is just desktop settings --- it doesn't really hurt to lose it). So there's no need for a special instruction how to clone a default project: just copy it to a new name/location, and that's that.
"With uv2, I'd cheat, and edit the .uv2 file." I believe that uVision-3 uses exactly the same .uv2 and .opt files as uVision-2. I think that some of the settings mentioned by the OP would be in the .opt file. I'm sure I've mentioned this one before - it would be really useful to set up one's own set of defaults for all new projects. The closest I came was to create a "skeleton" project with the required settings (and directory structure) and then copy & rename the .uv2 and .opt files (and directory structure).
With uv2, I'd cheat, and edit the .uv2 file. It's just a text file. And while it has many a mysterious list of comma-separated integers or bitmap hex values, the target and group lists were pretty easy to modify.
View all questions in Keil forum