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

How make library file that need some defines in othel header file?

Hello every body,

i know how to build a library file.

but now i need a library file that need a .h file for some defines.
i have some constant that define pin map of board,i want make a .lib file that exclude one of header files, and when i want use this library file i must include a header file to main.c until project can compile.
is it possible? if yes,how?

Regards,
Ham Lot

Parents Reply Children
  • That means if you have some .h files within the library that are intended to be internal to the library, they will be exposed, correct?  I can easily live with that.  There's no perfect solution short of some complex scheme not worth pursuing.

    Thanks!