This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to build project based on an existing project

I want to start another project that will use 95% of my
existing code and all the same settings.

How can I clone an existing project?

Scott Kelley

  • You could copy the old.UV2 and old.OPT files to new.UV2 and new.OPT, then open new.UV2 in uVision and make the required changes (eg, the "executable" name).

    The .UV2 and .OPT files are just plain text, so you can edit them in your favourite text editor.

  • > The .UV2 and .OPT files are just
    > plain text, so you can edit them in
    > your favourite text editor.

    Editing .UV2 files is trickier than it looks. I have given up on that approach.

    -- Gary Culp

  • Fair comment: eg, there are some settings that appear in both the .opt and .uv2, and it can be tricky to determine if they must match or if one takes precedence!

    Suggestion: how about adding a 'Save As' option to the 'Project' menu?

    Another suggestion: with my old MSVC v1.0, If I move a Project to a different folder, it automatically detects this and updates all the file locations accordingly. How about adding this to uVision?

    A further suggestion: how about adding the ability to select multiple files in the Project window, and then change their settings together?