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
  • Are you using full tools or just eval tools. In C51/C251 Eval Tools it is not possible to create custom libraries.

    The C251 toolchain contains in the folder
    ..\C251\EXAMPLES\MCB251 and example for creating an serial I/O library. This library is used other C251 examples. It is easy to port this library concept to the C51
    so maybe you take a look at this first.

Reply
  • Are you using full tools or just eval tools. In C51/C251 Eval Tools it is not possible to create custom libraries.

    The C251 toolchain contains in the folder
    ..\C251\EXAMPLES\MCB251 and example for creating an serial I/O library. This library is used other C251 examples. It is easy to port this library concept to the C51
    so maybe you take a look at this first.

Children