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

Several Programs in same Keil project in uV2

I have many small applications which are controlled by our own RTOS.

Is it possible to have many projects within the same uV2 complete project?

TIA

  • A uVision Project can only build one Application at a time: look on the 'Output' tab - there's only space to specify one executable name!

    However, a Project can contain several Targets - so you could make each of your Apps a Target in one Project?

    It would be more conventional to have the RTOS as a Project in its own right, which generates a Library; your individual Applications would then just link to the Library

  • Another solution might be to compile the projects using the BATCH MODE of uVison2.
    This mode is described in the Getting Started User's Guide, Chapter 12.

  • Hi,

    Every module and the RTOS are currently seperate projects and merged at the end with some custom win32 app to create a ROM image.

    I was just trying to simplify the maintainance whilst developing! ;-)

  • Since you are running at least one external (non-IDE) tool anyway, consider using a make tool to manage the whole thing -- invoking the compiler/linker for the multiple projects, then invoking the Win32 app.

  • This is dead easy if you forget windows. I have a batchfile that generates several different builds in one go. If you want a copy let me know, no trade secret will be revealed

    Erik

  • "Every module and the RTOS are currently seperate projects and merged at the end with some custom win32 app to create a ROM image."

    Do you mean:
    [1] you have only 1 ROM image which contains every module and the RTOS, or

    [2] each module produces a ROM image which includes the RTOS?

    For [1], why not just have a single Project - possibly with each module in its own Group;

    For [2], make the RTOS a Library & have separate projects for each module

    Or, as others have suggested, abandon uVision for Project Management