AnsweredAssumed Answered

One project for two MCU

Question asked by Aurelie Mercier on Apr 19, 2010
Latest reply on Apr 20, 2010 by Aurelie Mercier


I am developing on MC9S12XEP100 and MC9S08DZ128. I would like to make one program that can be used for both MCU : I put #define MODE1 (for one of the MCU) or 2(for the other MCU) at the start of an included file and all the others files are doing something different in the two cases (#ifdef MODE1 ..... #endif   #ifdef MODE2 ........ #endif). The problem is that I have to use different CodeWarrior IDE for the two MCU.

Please if someone has a solution for doing it.

Thank you.