Other Parts Discussed in Thread: CONTROLSUITE, C2000WARE
Tool/software: Code Composer Studio
Hello There
I am trying to run PFCHV2PHIL project C:\ti\controlSUITE\development_kits\HVPFC2Phil. Which is in piccolo but I wanted to run it in Delfino. I have posted a similar question but still suffering. TI said that I need to change some header files and also change the path for the compiler as well as linkers corresponding to Delfino. So in this thread, we will only discuss changing files, not the path. For path, we can create another thread if you want. Here I have shared the image of old piccolo main.c.
Here As you can see the
#include "PFC2PhiL-Settings.h"
#include "PeripheralHeaderIncludes.h"
#include "DSP2802x_EPWM_defines.h" //F2837xD_EPwm_defines.h
#include "DPlib.h"
#include "IQmathLib.h"
so,
PFC2PhiL-Settings.h file I don't need to change because it is not related with piccolo or Delfino
then 2nd include file is PeripheralHeaderIncludes.h for piccolo but the corresponding file of this in Delfino I couldn't find in the C2000ware.
Then 3rd is DSP2802x_EPWM_defines.h for piccolo and I found it for Delfino is F2837xD_EPwm_defines.h I think it's correct right?
Then 4th and 5th DPlib.h and IQmathLib.h are they related to the Delfino or Piccolo?
Any other changes do you see that need for the migration process in main.c file?