I like to generate LIB file (static library) so I do not need to supply client with source code
Please advise procedure how to do this. Assumed LPC1768 and MCP1700 eval board. What additional statement I need to add the code below?
For example I have simple global variable and function
in source code (test.c)
uINT32 test1; uINT32 test2;
void fuctest1(uCH8 data1, uINT32 data2, CH8*) { test1=2; test2=4; etc }
uINT32 fuctest2(uCH8 data) { test2=10; test1=4; }
in header (test.h)
extern uINT32 test1; extern uINT32 test2;
extern fuctest1(uCH8 data1, uINT32 data2, CH8*); extern uINT32 fuctest2(uCH8 data);
Thanks