Integrate freeRTOS into Lin_Slave_S32K148_Example_DS

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

Integrate freeRTOS into Lin_Slave_S32K148_Example_DS

420 Views
M_SCH
Contributor II

 

Hello,

I imported the example project Lin_Slave_S32K148_Example_DS and added the freeRTOS component. The code generation does not indicate that any problems occured, but the final Console output while attempting to build the project yields

Building target: Lin_Slave_S32K148_Example_DS.elf
Invoking: Standard S32DS C Linker
arm-none-eabi-gcc -o "Lin_Slave_S32K148_Example_DS.elf" "@Lin_Slave_S32K148_Example_DS.args"

...

uses variable-size enums yet the output is to use 32-bit enums; use of enum values across objects may fail
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:45: Lin_Slave_S32K148_Example_DS.elf] Error 1
"make -j8 all" terminated with exit code 2. Build might be incomplete.

10:48:57 Build Failed. 1 errors, 0 warnings. (took 46s.437ms)

I looked up the makefile in the Debug_FLASH folder and found the statement that causes the problem

arm-none-eabi-gcc -o "Lin_Slave_S32K148_Example_DS.elf" "@Lin_Slave_S32K148_Example_DS.args" $(USER_OBJS)

Since I only added the freeRTOS to the example project Lin_Slave_S32K148_Example_DS I want to understand why building this project fails and what (configuration, peripherals,...) I am missing.

Maybe the following information help:

Installed Software

  • S32 Design Studio S32K1XX SDK RTM 4.0.3
  • FreeRTOS S32K1 1.0.1
  • LINSTACK S32K1 1.0.1
  • RTD S32K1XX 1.0.1 (HF)
  • TCIP_STACK S32K1 1.0.1

Peripherals - Components (Overview)

M_SCH_0-1681730186575.png

Can somebody help me with this issue.

 

Best regards 

 

M_SCH

Labels (1)
0 Kudos
1 Reply

366 Views
nxf78987
NXP Employee
NXP Employee

Hi @M_SCH,

Could you change "Current builder" to the below image and re-build project?

nxf78987_0-1682501670786.png

I attached an example that I built successfully from my side.

Best regards,

Dan

0 Kudos