Library creation with XC8 compiler
Hello,
I am stuck on a topic and I hope that someone can help me :)
Summarizing, I have a project for a PIC16F18876 microcontroller and I want to update it replacing some sources with a library.
What I have done:
- creation of a new library project with the sources that I want to add in the library (basically the whole driver layer);
- updating of the project, removing all the sources already integrated in the library and adding of the .lpp library file in the project.
At this point I have built the new project with the library, the building process is successfully terminated, but the hex file is different from the original project (without the library).
I've checked the outputs of the build process (.p1, ecc) and they are the same.
Where is the problem? The Linker?
What I have to do to get the same .hex?
Thanks in advance.
Carlo