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
Please read the manual!
There is a section in the uVision Manual specifically titled, "Create a Library File"
www.keil.com/.../uv4_ca_createlibraryfile.htm
ARM Librarian: http://www.keil.com/support/man/docs/armutil/armutil_Cjajegba.htm
Rather than invent proprietary type names, why not just use the standard names defined in stdint.h ?
And note the instructions for posting source code: www.danlhenry.com/.../keil_code.png
As Per says, is your client happy for you to withhold the source?