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

Creating and using object libraries

I will be willing to pay for this information:

I am using micorvision 2 and need to know how
I can construct a library of objects and then how I can reference those objects from a main program. For example, suppose I want to write a module that sends characters to the serial port and write a module that recieves a module from the serial port. Next I want to create a library that contains read.obj and send.obj in a library. Next I want to write a main program that calls send.obj and read.obj. How do I create the libray of the two object modules, how do I reference the object modules (or library) in my main program? Thank you so much for anyone who can help me on this.

Jim Gilliam, K6qe@earthlink.net

Parents
  • "I will be willing to pay for this information"

    How much?

    But before we discuss fees, you could consider the following self-help:

    Have you read the sections "LIB51 Library Manager," "Creating a Library File," and "LIB51 / L251 Library Manager Commands" in the uVision Getting Started guide?

    Have you read the section on the Library Manager in the Assembler/Utilities Manual?

    Have you looked throught the Applications Notes and the Knowledge Base?

    "how do I reference the object modules (or library) in my main program?"

    The same way you do the standard 'C' libraries for printf, etc; by means of a header file for the Compiler, and by adding the Library to the uVision Project for the Linker.

Reply
  • "I will be willing to pay for this information"

    How much?

    But before we discuss fees, you could consider the following self-help:

    Have you read the sections "LIB51 Library Manager," "Creating a Library File," and "LIB51 / L251 Library Manager Commands" in the uVision Getting Started guide?

    Have you read the section on the Library Manager in the Assembler/Utilities Manual?

    Have you looked throught the Applications Notes and the Knowledge Base?

    "how do I reference the object modules (or library) in my main program?"

    The same way you do the standard 'C' libraries for printf, etc; by means of a header file for the Compiler, and by adding the Library to the uVision Project for the Linker.

Children