AnsweredAssumed Answered

Keil uvision create .lib file with parameters

Question asked by Majerle.Tilen on Jan 10, 2016
Latest reply on Jan 10, 2016 by Majerle.Tilen
Hello to all readers,

i'm really out of my mind here.
I searched but nothing positive.

What is my purpose here. I wanna make a .lib file (hidden code to user) but still allow to set some defines in compiler preprocessor which will be used in .lib file.

For example.

Lib file structure:

uint8_t myArray[ARRAY_SIZE];

I wanna have this #define ARRAY_SIZE to be able to set on user side, without recompile .c file again from which library was created.

Is this possible to set in keil and how?