The printf of the S32DS.Power.2.1 console fails after the RTOS component

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

The printf of the S32DS.Power.2.1 console fails after the RTOS component

903件の閲覧回数
wlkang
Contributor I

I use the IDE of S32DS.Power.2.1 to develop the evaluation board of MPC5744, use the debugging interface semi-host console to output printf. When the freeRTOS component is not added, the debugging interface can print the content of printf normally. Once the freeRTOS component is added, there is no Any output, why

0 件の賞賛
1 返信

758件の閲覧回数
petaemail
Contributor I

I have also this problem.

I found solution like this

http://blog.chinaaet.com/hxw718059156/p/5100058056 

I had to add include path "${S32_SDK_PATH}/platform/pal/inc"

but i steel have problem with building code with EDMA_REQ_DISABLED_MUX0,

as you can see

20:48:09 **** Incremental Build of configuration Debug_RAM for project freertos_mpc5744p1 ****
make -j8 all
Building file: ../Generated_Code/Cpu.c
Building file: ../Generated_Code/clockMan1.c
Building file: ../Generated_Code/dmaController1.c
Executing target #1 ../Generated_Code/Cpu.c
Executing target #2 ../Generated_Code/clockMan1.c
Executing target #3 ../Generated_Code/dmaController1.c
Invoking: Standard S32DS C Compiler
powerpc-eabivle-gcc "@Generated_Code/Cpu.args" -MMD -MP -MF"Generated_Code/Cpu.d" -MT"Generated_Code/Cpu.o" -c -o "Generated_Code/Cpu.o" "../Generated_Code/Cpu.c"
Invoking: Standard S32DS C Compiler
powerpc-eabivle-gcc "@Generated_Code/clockMan1.args" -MMD -MP -MF"Generated_Code/clockMan1.d" -MT"Generated_Code/clockMan1.o" -c -o "Generated_Code/clockMan1.o" "../Generated_Code/clockMan1.c"
Invoking: Standard S32DS C Compiler
powerpc-eabivle-gcc "@Generated_Code/dmaController1.args" -MMD -MP -MF"Generated_Code/dmaController1.d" -MT"Generated_Code/dmaController1.o" -c -o "Generated_Code/dmaController1.o" "../Generated_Code/dmaController1.c"
Building file: ../Generated_Code/pin_mux.c
Building file: ../Generated_Code/uart_pal1.c
Building file: D:/NXP/S32DS_Power_v2017.R1/S32DS/S32_SDK_S32PA_RTM_3.0.0/platform/devices/MPC5744P/startup/gcc/interrupt_vectors.S
Executing target #4 ../Generated_Code/pin_mux.c
Executing target #5 ../Generated_Code/uart_pal1.c
Executing target #7 D:/NXP/S32DS_Power_v2017.R1/S32DS/S32_SDK_S32PA_RTM_3.0.0/platform/devices/MPC5744P/startup/gcc/interrupt_vectors.S
Invoking: Standard S32DS C Compiler
powerpc-eabivle-gcc "@Generated_Code/pin_mux.args" -MMD -MP -MF"Generated_Code/pin_mux.d" -MT"Generated_Code/pin_mux.o" -c -o "Generated_Code/pin_mux.o" "../Generated_Code/pin_mux.c"
Invoking: Standard S32DS C Compiler
powerpc-eabivle-gcc "@Generated_Code/uart_pal1.args" -MMD -MP -MF"Generated_Code/uart_pal1.d" -MT"Generated_Code/uart_pal1.o" -c -o "Generated_Code/uart_pal1.o" "../Generated_Code/uart_pal1.c"
Invoking: Standard S32DS Assembler
powerpc-eabivle-gcc "@Project_Settings/Startup_Code/interrupt_vectors.args" -c -o "Project_Settings/Startup_Code/interrupt_vectors.o" "D:/NXP/S32DS_Power_v2017.R1/S32DS/S32_SDK_S32PA_RTM_3.0.0/platform/devices/MPC5744P/startup/gcc/interrupt_vectors.S"
../Generated_Code/dmaController1.c:62:15: error: 'EDMA_REQ_DISABLED_MUX0' undeclared here (not in a function)
     .source = EDMA_REQ_DISABLED_MUX0,
               ^
make: *** [Generated_Code/subdir.mk:79: Generated_Code/dmaController1.o] Error 1
make: *** Waiting for unfinished jobs....
Building file: D:/NXP/S32DS_Power_v2017.R1/S32DS/S32_SDK_S32PA_RTM_3.0.0/platform/devices/MPC5744P/startup/gcc/startup_MPC5744P.S
Executing target #8 D:/NXP/S32DS_Power_v2017.R1/S32DS/S32_SDK_S32PA_RTM_3.0.0/platform/devices/MPC5744P/startup/gcc/startup_MPC5744P.S
Invoking: Standard S32DS Assembler
powerpc-eabivle-gcc "@Project_Settings/Startup_Code/startup_MPC5744P.args" -c -o "Project_Settings/Startup_Code/startup_MPC5744P.o" "D:/NXP/S32DS_Power_v2017.R1/S32DS/S32_SDK_S32PA_RTM_3.0.0/platform/devices/MPC5744P/startup/gcc/startup_MPC5744P.S"
Finished building: D:/NXP/S32DS_Power_v2017.R1/S32DS/S32_SDK_S32PA_RTM_3.0.0/platform/devices/MPC5744P/startup/gcc/interrupt_vectors.S
 
Finished building: ../Generated_Code/Cpu.c
Finished building: D:/NXP/S32DS_Power_v2017.R1/S32DS/S32_SDK_S32PA_RTM_3.0.0/platform/devices/MPC5744P/startup/gcc/startup_MPC5744P.S
 
Finished building: ../Generated_Code/clockMan1.c
 
 
Finished building: ../Generated_Code/pin_mux.c
Finished building: ../Generated_Code/uart_pal1.c
 
 

20:48:10 Build Finished (took 971ms)

Can somebody help me?

Thanks

0 件の賞賛