Consistency of project for several CPUs

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Consistency of project for several CPUs

798 Views
ozillator
Contributor I

Hi, in our group we're using two different hardware generations, one is 56F803 based, the new one 56F8357. We got one top level bean that incooperates another bean, which vary with the CPUs, e.g. the CAN implementations (MSCAN, FLEXCAN). We approached the issue of adapting to the underlying CPU by including the hardware dependable beans in boolean groups which are then activated or disactivated. But somewho this approach is causing trouble when switching from one CPU to the other.

What is a good style to keep a project in such a case consistent. Obviously this has to be handled within the .chg file of the top level bean.

Thanks in advance for any kind of input! Steffen

Labels (1)
Tags (1)
0 Kudos
1 Reply

576 Views
ProcessorExpert
Senior Contributor III

Hi,

 

could you be please more specific how your component is designed  and what kind of trouble do you encounter ? The beast would be to have an example showing the problem...

The FreescaleCAN component should cover both MSCAN and FLEXCAN peripherals, even though it behaves differently - there may be some specific parts needed for each version.

 

 

best regards
Petr Hradsky
Processor Expert Support Team


0 Kudos