 | Discussion Forum |  |
|
|
Make Files and uVision2Next Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author Kenny ODell Posted 2-May-2001 22:06 GMT Toolset C51 |  Make Files and uVision2 Kenny ODell I'm using uVision2 v2.12. Does it produce make files for others to use? What if you want someone to be able to build files without having to know anything about uVision? I don't want to use uVision2 and then have to turn around and hand produce make files for the test folks. I know many other tool chains that offer this feature, but am new to Keil-world. Comments? Advise? | | Read-Only Author Jon Ward Posted 2-May-2001 23:15 GMT Toolset C51 |  RE: Make Files and uVision2 Jon Ward You can run uVision2 from the command line to build a project. Ergo, you can create a batch file that simply provides the correct command line to uVision2.
http://www.keil.com/support/docs/868.htm
Jon
| | Read-Only Author Andrew Neil Posted 3-May-2001 11:57 GMT Toolset C51 |  RE: Make Files and uVision2 Andrew Neil http://www.keil.com/support/docs/868.htm Refers to the C166 document, but the principle's exactly the same for C51. The document is GS51.pdf - you can open it from the 'Books' tab in the uVision Project window.
All the C51 tools can be run individually from the command-line, so there's nothing to stop you creating a makefile if you want to. uVision shows you the command line options at the foot of each tab in the "Target Options."
If you write your code carefully, you can make it compile under other tools (MSVC, Borland, etc) - then you could use those tools to create the dependencies etc for your makefile and adapt it for the Keil tools as appropriate.
Doing so can also give you other benefits - like better diagnostics, browsing, etc NB: You only want it to compile - making it run on another target is a whole new ballgame...! | | Read-Only Author Jon Ward Posted 3-May-2001 15:41 GMT Toolset C51 |  RE: Make Files and uVision2 Jon Ward Thanks, Andrew. :-) | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|