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

CodeWright Integration

I read an earlier entry that asked how to integrate CodeWright with the Keil compiler. The answer was that a third party company provides an IDE that does it.

I would like to configure CodeWright to build using the Keil tools rather than to buy more tools that replace the ones I already own.

I prefer not to have to use makefiles or batchfiles. Keil's integrated make utility is very nice and it seems that there should be a way of utilizing it from Codewright but I have no idea how.

Does anyone have any insight on if and how this can be done?

Thanks in advance, any help is much appreciated.

Parents
  • For compiles, you can simply enter c51 %r%e oe sm noip in the comple line and be happy. I call the makefile to build the code since it is somewhat difficult to teach CodeWright to compile only changed files and then link.

    I also like to check Redirect Output, No Command Shell, Save All Files, Background, and Use VDOS.

    - Mark

Reply
  • For compiles, you can simply enter c51 %r%e oe sm noip in the comple line and be happy. I call the makefile to build the code since it is somewhat difficult to teach CodeWright to compile only changed files and then link.

    I also like to check Redirect Output, No Command Shell, Save All Files, Background, and Use VDOS.

    - Mark

Children
  • Thanks Mark:

    That information is definately helpful.

    Is it just me but doesn't this seem like it should alot simpler. I just want the build button in CodeWright to launch uVision2, load a project and trigger Keil's build process using its integrated make utility. Basic menu commands that already exist in uVision2. If this can be done, the mechanisms are already in place to allow CodeWright to do the error parsing half of the job.

    Walt

  • Oh ho! You want to invoke uVision! That I did not understand. If uVision had some DDE interface it would be cool. However, if you can find any command line documentation for invoking uVision you may be able to do something with it.

    However since you'd need to keep calling it over and over again, I don't think this would work well since you'd have to kill the last invocation each time.

    - Mark

  • If uVision had some DDE interface it would be cool

    uVision does have some DDE interface, but cool it is not :-(

    It allows you to issue the same debugger commands that you can issue on the debug command line, but it's only debugger commands, and there's no way to retrieve the results of the commands!

    See App Note 143 (and I posted some questions here about a year ago)