I have installed S32DS today and tried to build the built in DIO example project. I am getting the following error. Any help with resolution would be appreciated.
21:19:03 **** Build of configuration Debug_FLASH for project Dio_Example_S32K344 ****
make -j12 all
Building file: ../src/main.c
Building file: ../Project_Settings/Startup_Code/Vector_Table.s
Building file: ../Project_Settings/Startup_Code/exceptions.c
Building file: ../Project_Settings/Startup_Code/nvic.c
Building file: ../Project_Settings/Startup_Code/startup.c
Building file: ../Project_Settings/Startup_Code/startup_cm7.s
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/exceptions.d" -MT"Project_Settings/Startup_Code/exceptions.o" -o "Project_Settings/Startup_Code/exceptions.o" "../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 Assembler
Invoking: Standard S32DS C Compiler
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@Project_Settings/Startup_Code/Vector_Table.args" -o "Project_Settings/Startup_Code/Vector_Table.o" "../Project_Settings/Startup_Code/Vector_Table.s"
Invoking: Standard S32DS C Compiler
Invoking: Standard S32DS Assembler
arm-none-eabi-gcc "@Project_Settings/Startup_Code/exceptions.args" -MMD -MP -MF"Project_Settings/Startup_Code/nvic.d" -MT"Project_Settings/Startup_Code/nvic.o" -o "Project_Settings/Startup_Code/nvic.o" "../Project_Settings/Startup_Code/nvic.c"
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"
arm-none-eabi-gcc "@Project_Settings/Startup_Code/exceptions.args" -MMD -MP -MF"Project_Settings/Startup_Code/startup.d" -MT"Project_Settings/Startup_Code/startup.o" -o "Project_Settings/Startup_Code/startup.o" "../Project_Settings/Startup_Code/startup.c"
cc1.exe: error: too many filenames given; type 'cc1.exe --help' for usage
arm-none-eabi-gcc "@Project_Settings/Startup_Code/Vector_Table.args" -o "Project_Settings/Startup_Code/startup_cm7.o" "../Project_Settings/Startup_Code/startup_cm7.s"
cc1.exe: error: too many filenames given; type 'cc1.exe --help' for usage
cc1.exe: fatal error: @C:\Windows\TEMP\ccMdzPkm: Invalid argument
compilation terminated.
cc1.exe: fatal error: @C:\Windows\TEMP\ccs7vPkm: Invalid argument
cc1.exe: error: too many filenames given; type 'cc1.exe --help' for usage
compilation terminated.
cc1.exe: fatal error: @C:\Windows\TEMP\ccYfER6l: Invalid argument
compilation terminated.
make: *** [src/subdir.mk:20: src/main.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Project_Settings/Startup_Code/subdir.mk:42: Project_Settings/Startup_Code/exceptions.o] Error 1
cc1.exe: error: too many filenames given; type 'cc1.exe --help' for usage
cc1.exe: error: too many filenames given; type 'cc1.exe --help' for usage
cc1.exe: error: too many filenames given; type 'cc1.exe --help' for usage
cc1.exe: error: too many filenames given; type 'cc1.exe --help' for usage
cc1.exe: fatal error: @C:\Windows\TEMP\ccuwPPWp: Invalid argument
cc1.exe: fatal error: @C:\Windows\TEMP\ccGe0F4o: Invalid argument
cc1.exe: fatal error: @C:\Windows\TEMP\ccqWmhms: Invalid argument
make: *** [Project_Settings/Startup_Code/subdir.mk:35: Project_Settings/Startup_Code/Vector_Table.o] Error 1
compilation terminated.
compilation terminated.
compilation terminated.
cc1.exe: fatal error: @C:\Windows\TEMP\cciElhms: Invalid argument
compilation terminated.
make: *** [Project_Settings/Startup_Code/subdir.mk:35: Project_Settings/Startup_Code/startup_cm7.o] Error 1
make: *** [Project_Settings/Startup_Code/subdir.mk:42: Project_Settings/Startup_Code/startup.o] Error 1
make: *** [Project_Settings/Startup_Code/subdir.mk:42: Project_Settings/Startup_Code/nvic.o] Error 1
make: *** [Project_Settings/Startup_Code/subdir.mk:42: Project_Settings/Startup_Code/system.o] Error 1
"make -j12 all" terminated with exit code 2. Build might be incomplete.
21:19:04 Build Failed. 8 errors, 0 warnings. (took 380ms)
Hi @AnPa
I just tested the example with S32DS 3.5 and RTD 4.0.0 and everything works as expected. Did you "Update Code" in configuration tool?
Regards,
Lukas