Hello Daniel,
You can modify the output of the injectors and the fuel pump modifying parameters of an existing PT2001 IDE project, or by creating a new project. If you create a new project and check the “Generate New Source Files” check box, a dialog box will be displayed that allows you to set the injection pulse and DC to DC converter parameters (see below).


After you build the PT2001 IDE project and generate the source code files, only copy the PT2001_LoadData.c and PT2001_LoadData.h files into the S32 Design Studio project. The build should work fine. The PT2001.c and .h files generated be the PT2001 IDE are similar to what is in the S32DS example, but the includes are more generic and not specific to the S32K144. That is why you are getting build errors. It is not necessary to copy any of the other files generated by the PT2001 IDE to the example S32DS project.
You cannot modify the injector parameters directly in S32DS for ARM. The PT2001 binary code is in the PT2001_LoadData.c file. It is encrypted and placed in an array format. The PT2001 expects to receive encrypted code which is what is generated by the assembler that is part of the PT2001 IDE. If you want to change the injector parameters, you have to make the changes using the PT2001 IDE, build the code, generate the load data files, and copy the PT2001_LoadData.c and PT2001_LoadData.h files into the S32 Design Studio project.
Best regards,
Tomas