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

INCLUDING OBJECT FILES IN LINK

Hi All,

I have 3 source files: file1.c, file2.c and file3.c and 1 header file config.h.

When I built entire uvision project, 3 object files got generated. file1.obj, file2.obj, file3.obj.

Now I re-build the project & generate hex by changing variables in the config.h header file.

My queries:

1. Can I use these object files and config.h file somehow to generate hex files?
I mean without using the source files in building.

This is because, I don't want to give the source files to my client except the object files and config.h file, so that client can load them in uvsion project & generate different hex files by changing the config.h file.

Regards,
Raj S.

Parents
  • I have 3 object files now and I want to link them with config.c file(this file has variable which can be changed by my client) to generate different hex file.
    Also, I used extern keyword for this variable while using it in my 3 source files.
    Now I would like to know how in uvision project I can add these 3 object files and one config.c file to link/build and generate hex.

    Thanks

Reply
  • I have 3 object files now and I want to link them with config.c file(this file has variable which can be changed by my client) to generate different hex file.
    Also, I used extern keyword for this variable while using it in my 3 source files.
    Now I would like to know how in uvision project I can add these 3 object files and one config.c file to link/build and generate hex.

    Thanks

Children