I’m using S32DS 3.6.1 on Linux. The installation of S32DS itself was successful, and I was able to install the development package without issues.
However, when I tried to install RTD via Help → Install New Software, I selected the RTD package for my target controller family and completed the installation.
After installation, I didn’t see the RTD plugin listed in the Plugins menu, but I was able to create a project from an example. I also found the RTD files and manuals in the software folder within the installation directory, so I assumed the installation was successful.
The problem is: when I try to build the example (a simple PWM test), the compiler fails with errors like:
13:08:25 **** Build of configuration Debug_FLASH for project Pwm_example_S32K344 ****
make -j16 all
Building file: ../src/main.c
Building file: ../Project_Settings/Startup_Code/exceptions.c
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@src/main.args" -MMD -MP -MF"src/main.d" -MT"src/main.o" -o "src/main.o" "../src/main.c"
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@Project_Settings/Startup_Code/exceptions.args" -MMD -MP -MF"Project_Settings/Startup_Code/exceptions.d" -MT"Project_Settings/Startup_Code/exceptions.o" -o "Project_Settings/Startup_Code/exceptions.o" "../Project_Settings/Startup_Code/exceptions.c"
Building file: ../Project_Settings/Startup_Code/system.c
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@Project_Settings/Startup_Code/exceptions.args" -MMD -MP -MF"Project_Settings/Startup_Code/system.d" -MT"Project_Settings/Startup_Code/system.o" -o "Project_Settings/Startup_Code/system.o" "../Project_Settings/Startup_Code/system.c"
../src/main.c:26:10: fatal error: Pwm.h: No such file or directory
26 | #include "Pwm.h"
| ^~~~~~~
../Project_Settings/Startup_Code/exceptions.c:40:10: fatal error: Platform_Types.h: No such file or directory
40 | #include "Platform_Types.h"
| ^~~~~~~~~~~~~~~~~~
../Project_Settings/Startup_Code/system.c:46:10: fatal error: Platform_Types.h: No such file or directory
46 | #include "Platform_Types.h"
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
compilation terminated.
compilation terminated.
make: *** [Project_Settings/Startup_Code/subdir.mk:42: Project_Settings/Startup_Code/system.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Project_Settings/Startup_Code/subdir.mk:42: Project_Settings/Startup_Code/exceptions.o] Error 1
make: *** [src/subdir.mk:20: src/main.o] Error 1
"make -j16 all" terminated with exit code 2. Build might be incomplete.
13:08:25 Build Failed. 7 errors, 0 warnings. (took 292ms)
It seems the SDK isn’t being found or linked properly. Has anyone encountered this issue before? How can I fix this so the project compiles correctly?