I have two boards that use similar software but different I2C configurations. I'm trying to use the same source files for both boards but need two Processor Expert builds. One build has two masterConfigs while the other has 8 with no overlap.
MK64FN1M0VLQ12
I wound up with three pe files. The one Kinetis uses and two they way I wanted them. I have to copy the desired to the used one and vice versa. Very prone to failure.
Hello @Frank_Z,
Could you please check the following information?
Kind regards, Raul.
Hello @Frank_Z,
Could you please tell us the part number of the MCU that you are using?
Kind regards, Raul.
I found I can create two Generator Configurations, each with i2c0 and i2c2 components defined as necessary and enabled/disabled per configuration.
Issue I see is that PE generates files based on the component name, thus making two sets of i2c0.c/h files. I can't SVN two versions of the same filename. I can base the component names on the configuration, but then I can't tell which .h files to include.
There is supposed to be a PEcfg_ defined per configuration but I can't find them.
Hello @Frank_Z,
Usually, the PEcfg_ is on Cpu.h under Generated_Code folder.
Please take a look at Section Configurations in the Processor Expert User Manual. There is mentioned an example and more information that could be useful to look at.
Kind regards, Raul.