AnsweredAssumed Answered

Sharing code between projects

Question asked by johnny45 on Dec 16, 2012
Latest reply on Dec 17, 2012 by CraigG

How do I use functions defined in file "KeypadExample.c"(project KeypadExample) in file "Example_6.c"( project "Example_6")?  (see attachment)?


I tried with copying functions from "KeypadExample.c" to "Example_6.c", same did with other files that are needed. It's a very messy work, but it's more problematic that both projects use 2 same named files (marked with red in attachment), which are "adi_ssl_Init.c" and "adi_ssl_Init.h". Files are 2 different versions (one is version from 2005, other 2007) without backward compatibility (overwriting older with newer yields errors). How to overcome this problem?

scr01.jpg

Outcomes