AnsweredAssumed Answered

multiple (identical) code creation of components

Question asked by O M on Jul 17, 2013
Latest reply on Jul 22, 2013 by Vojtech Filip



In the PE there are 3 components that can be "shared drivers" - Serial_LDD, CAN_LDD and Ethernet_LDD.


I need two timers and 5 leds in my application.

If I add 2 timers components and 5 led components, I end up with different file, for each component, that contain the same code.

How can I avoid this ?


The issue is even more complicated for GPIO, BitIO, BitsIO, ByteIO, ...

which component should I select, in order to avoid the problem mentioned above ?


Thanks a lot