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

uVision 4 Command Line to Clean not working

I am using the command line to allow me to create batch files to build my projects. The build command (-b) is working correctly. However I would like to clean the project first. In the documentation (http://www.keil.com/support/man/docs/uv4/uv4_commandline.htm) the example shows this 'UV4 -c PROJECT1.uvprojx' so I am doing 'UV4 -c Vick4610MCI.uvproj' (interestingly my project isnt a uvprojX.. i assume this is version 5?). But when I run this instead of cleaning the project it launches uvision!

An ideas why this is happening?
Also are there other undocumented commands that can be used? Like a 'Rebuild all target files'?

Many thanks.

Parents
  • Yes it appears to do the same with the 'Hello' example. My batch file for that is this:

    UV4 -c Hello.uvproj
    UV4 -b Hello.uvproj
    

    The first line launches the IDE with the Hello project then nothing happens. I then manually close the IDE and the second command in the batch file starts which successfully builds the project but only showing the build output window (not the whole IDE).

    I am using:
    uVision: V4.03q
    Toolchain: V4.11
    C Compiler: V4.0.0.728
    CPU DLL: V4.11
    Dialog DLL: V1.16a
    Target DLL: V1.56
    Dialog DLL: V1.13

Reply
  • Yes it appears to do the same with the 'Hello' example. My batch file for that is this:

    UV4 -c Hello.uvproj
    UV4 -b Hello.uvproj
    

    The first line launches the IDE with the Hello project then nothing happens. I then manually close the IDE and the second command in the batch file starts which successfully builds the project but only showing the build output window (not the whole IDE).

    I am using:
    uVision: V4.03q
    Toolchain: V4.11
    C Compiler: V4.0.0.728
    CPU DLL: V4.11
    Dialog DLL: V1.16a
    Target DLL: V1.56
    Dialog DLL: V1.13

Children