AnsweredAssumed Answered

compile different C files

Question asked by ItamarEliyahu on May 27, 2014
Latest reply on Jun 10, 2014 by CraigG

Hi

I have some program on  ADSP-21489 who controll some device usin SPI.

I have macro file and C file for this device.

Now i want to use the same program but to replace the controlled device- i need to create another macro file and another C file ( according to changes in registers and in functionality).

How should i implement those 2 types of files and choose ,before compilation , the type i want?

further explanation for my issue - lets say that i want to use # ifdef for whole files - to generate generic program.

 

Itamar

Outcomes