S32DS for Arm 2018.R1
KEAZ128
Some C files and H files in the project cannot be exposed to the client, the client needs to modify some other C files,and then compile to generate the HEX file. Is there any way?
Can confidential C files be replaced by O files for compilation?How to do this?
Thanks
已解决! 转到解答。
Hi,
Alternatively, you can link separate object file (.o) as an other object file (e.g. place the affected object files into a custom folder e.g. <Project home folder>\obj\) :
I'd also suggest you to disable debug information generation specifically for these source files. This will make them even harder to understand since symbol information is extracted from the compiled object file.
To do so just right click on specific source file and go to properties (main.c in the example):
Once the change is confirmed the file decorator appears (little black pin) indicating that the source file has a different to default build options :
Hope it helps.
Stan
Hi,
Alternatively, you can link separate object file (.o) as an other object file (e.g. place the affected object files into a custom folder e.g. <Project home folder>\obj\) :
I'd also suggest you to disable debug information generation specifically for these source files. This will make them even harder to understand since symbol information is extracted from the compiled object file.
To do so just right click on specific source file and go to properties (main.c in the example):
Once the change is confirmed the file decorator appears (little black pin) indicating that the source file has a different to default build options :
Hope it helps.
Stan
Hi,
I'm afraid that there is no other option. Library archive is just set of object files (.o) like was your first idea. If you already have .o files - you can simply create library archive by ar tool - https://www.delorie.com/djgpp/v2faq/faq8_22.html