S32DS build problem about MPC5744P project

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32DS build problem about MPC5744P project

1,300 Views
dericyeh
Contributor I

I wrote a simple test software for MPC5744P. However, I ecountered a build problem and the executable image .elf file could not be generated. Your support to fix the problem for me is very much appreciated ! Please refer to error message in RED color below.

S32DS version: 2017.R1   

============================ build message is shown below ================================== 

 

18:31:13 **** Build of configuration Debug for project LINFlexD_UART_MPC5744P ****

make -j8 all

Building file: ../Project_Settings/Startup_Code/startup.S

Building file: ../src/CAN.c

Executing target #1 ../Project_Settings/Startup_Code/startup.S

Building file: ../src/FCCU.c

Executing target #2 ../src/CAN.c

Invoking: Standard S32DS Assembler

Executing target #3 ../src/FCCU.c

powerpc-eabivle-gcc "@Project_Settings/Startup_Code/startup.args" -c -o "Project_Settings/Startup_Code/startup.o" "../Project_Settings/Startup_Code/startup.S"

Invoking: Standard S32DS C Compiler

powerpc-eabivle-gcc "@src/CAN.args" -MMD -MP -MF"src/CAN.d" -MT"src/CAN.o" -c -o "src/CAN.o" "../src/CAN.c"

Invoking: Standard S32DS C Compiler

powerpc-eabivle-gcc "@src/FCCU.args" -MMD -MP -MF"src/FCCU.d" -MT"src/FCCU.o" -c -o "src/FCCU.o" "../src/FCCU.c"

Building file: ../src/INTC.c

Building file: ../src/LINFLEX.c

Executing target #4 ../src/INTC.c

Building file: ../src/ME.c

Executing target #5 ../src/LINFLEX.c

Invoking: Standard S32DS C Compiler

powerpc-eabivle-gcc "@src/INTC.args" -MMD -MP -MF"src/INTC.d" -MT"src/INTC.o" -c -o "src/INTC.o" "../src/INTC.c"

Executing target #6 ../src/ME.c

Invoking: Standard S32DS C Compiler

powerpc-eabivle-gcc "@src/LINFLEX.args" -MMD -MP -MF"src/LINFLEX.d" -MT"src/LINFLEX.o" -c -o "src/LINFLEX.o" "../src/LINFLEX.c"

Invoking: Standard S32DS C Compiler

powerpc-eabivle-gcc "@src/ME.args" -MMD -MP -MF"src/ME.d" -MT"src/ME.o" -c -o "src/ME.o" "../src/ME.c"

Finished building: ../Project_Settings/Startup_Code/startup.S

Building file: ../src/MPC57xx__Interrupt_Init.c

 

Building file: ../src/PIT.c

Executing target #7 ../src/MPC57xx__Interrupt_Init.c

Building file: ../src/SIUL.c

Executing target #8 ../src/PIT.c

Invoking: Standard S32DS C Compiler

Executing target #9 ../src/SIUL.c

powerpc-eabivle-gcc "@src/MPC57xx__Interrupt_Init.args" -MMD -MP -MF"src/MPC57xx__Interrupt_Init.d" -MT"src/MPC57xx__Interrupt_Init.o" -c -o "src/MPC57xx__Interrupt_Init.o" "../src/MPC57xx__Interrupt_Init.c"

Invoking: Standard S32DS C Compiler

powerpc-eabivle-gcc "@src/PIT.args" -MMD -MP -MF"src/PIT.d" -MT"src/PIT.o" -c -o "src/PIT.o" "../src/PIT.c"

Invoking: Standard S32DS C Compiler

powerpc-eabivle-gcc "@src/SIUL.args" -MMD -MP -MF"src/SIUL.d" -MT"src/SIUL.o" -c -o "src/SIUL.o" "../src/SIUL.c"

../src/LINFLEX.c: In function 'LINFLEX_ClearParityError':

../src/LINFLEX.c:698:36: warning: large integer implicitly truncated to unsigned type [-Woverflow]

  LINFLEX[nbLINFlex]->UARTSR.B.PE = 0xFF;

                                    ^

Finished building: ../src/FCCU.c

 

Building file: ../src/Vector.c

Executing target #10 ../src/Vector.c

Finished building: ../src/INTC.c

Finished building: ../src/CAN.c

Invoking: Standard S32DS C Compiler

powerpc-eabivle-gcc "@src/Vector.args" -MMD -MP -MF"src/Vector.d" -MT"src/Vector.o" -c -o "src/Vector.o" "../src/Vector.c"

 

 

Finished building: ../src/ME.c

Building file: ../src/flashrchw.c

Building file: ../src/intc_SW_mode_isr_vectors_MPC5744P.c

 

Executing target #12 ../src/intc_SW_mode_isr_vectors_MPC5744P.c

Executing target #11 ../src/flashrchw.c

Building file: ../src/intc_sw_handlers.S

Invoking: Standard S32DS C Compiler

powerpc-eabivle-gcc "@src/intc_SW_mode_isr_vectors_MPC5744P.args" -MMD -MP -MF"src/intc_SW_mode_isr_vectors_MPC5744P.d" -MT"src/intc_SW_mode_isr_vectors_MPC5744P.o" -c -o "src/intc_SW_mode_isr_vectors_MPC5744P.o" "../src/intc_SW_mode_isr_vectors_MPC5744P.c"

Invoking: Standard S32DS C Compiler

Executing target #13 ../src/intc_sw_handlers.S

powerpc-eabivle-gcc "@src/flashrchw.args" -MMD -MP -MF"src/flashrchw.d" -MT"src/flashrchw.o" -c -o "src/flashrchw.o" "../src/flashrchw.c"

Finished building: ../src/MPC57xx__Interrupt_Init.c

Invoking: Standard S32DS Assembler

powerpc-eabivle-gcc "@src/intc_sw_handlers.args" -c -o "src/intc_sw_handlers.o" "../src/intc_sw_handlers.S"

 

Building file: ../src/main.c

Executing target #14 ../src/main.c

Invoking: Standard S32DS C Compiler

powerpc-eabivle-gcc "@src/main.args" -MMD -MP -MF"src/main.d" -MT"src/main.o" -c -o "src/main.o" "../src/main.c"

Finished building: ../src/LINFLEX.c

Finished building: ../src/PIT.c

Finished building: ../src/SIUL.c

 

Finished building: ../src/flashrchw.c 

 

Finished building: ../src/intc_sw_handlers.S

Finished building: ../src/intc_SW_mode_isr_vectors_MPC5744P.c

Finished building: ../src/Vector.c 

Executing target #16 libLINFlexD_UART_MPC5744P.siz

Invoking: Standard S32DS Print Size

powerpc-eabivle-size --format=sysv

D:\NXP\S32DS_Power_v2017.R1\Cross_Tools\powerpc-eabivle-4_9\bin\powerpc-eabivle-size.exe: 'a.out': No such file

make: *** [makefile:64: libLINFlexD_UART_MPC5744P.siz] Error 1

make: *** Waiting for unfinished jobs....

Finished building: ../src/main.c

 

 

0 Kudos
Reply
1 Reply

1,002 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

for some reason you are using non standard size call. Try to un-check print size in project properties:

pastedImage_1.png

Here are default size options: 

pastedImage_1.png

Jiri

0 Kudos
Reply