Lin_Slave_S32K118_Example_DS compile error

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

Lin_Slave_S32K118_Example_DS compile error

490 Views
LJX
Contributor I

hi,

I installed S32DS V3.6.2 250529 (Update 2),  SW32K1_S32M24x_RTD_R21-11_3.0.0_D2503_DesignStudio_updatesite.zip and SW32K1_S32M24X_LIN_STACK_2.0.0_D2503_DesignStudio_updatesite.zip.

Then i import Lin_Slave_S32K118_Example_DS, we can see some head files are missing, detail please see the attachment "compiler error.txt".

I tried to search these files in "C:\NXP\S32DS.3.6.2", and added in compile path:

LJX_0-1758943732075.png

but still will report mcu.h -> Mcu_Cfg.h compiler "[!" error:

LJX_2-1758943975919.png

 

Q1: Please help to check is environment problem?

Q2: I try to set LIN stack configuration in S32DS, then port the LIN code to my keil compile environment, can you give some advise?

 

Regards,

 

0 Kudos
Reply
3 Replies

437 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@LJX

Have you try to click Update code before compile project?

Senlent_0-1759114685727.png

 

0 Kudos
Reply

425 Views
LJX
Contributor I

I try to update the source code, then i will get error:

LJX_1-1759131347768.png

LIN Stack document show support S32DS V3.6, but now I use S32DS V3.6.2, so this is S32DS version problem?

LJX_2-1759131373868.png

 

 

0 Kudos
Reply

418 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@LJX

Judging from the error in your screenshot, you haven't installed RTD and LIN STACK properly. Please double-check your installation.

For example, you can try opening some of the examples provided with RTD.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2176894%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ELin_Slave_S32K118_Example_DS%20compile%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2176894%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ehi%2C%3C%2FP%3E%3CP%3EI%20installed%20S32DS%20V3.6.2%26nbsp%3B%3CSPAN%3E250529%20(Update%202)%2C%26nbsp%3B%20SW32K1_S32M24x_RTD_R21-11_3.0.0_D2503_DesignStudio_updatesite.zip%20and%20SW32K1_S32M24X_LIN_STACK_2.0.0_D2503_DesignStudio_updatesite.zip.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EThen%20i%20import%26nbsp%3BLin_Slave_S32K118_Example_DS%2C%20we%20can%20see%20some%20head%20files%20are%20missing%2C%20detail%20please%20see%20the%20attachment%20%22compiler%20error.txt%22.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20tried%20to%20search%20these%20files%20in%20%22C%3A%5CNXP%5CS32DS.3.6.2%22%2C%20and%20added%20in%20compile%20path%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22LJX_0-1758943732075.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22LJX_0-1758943732075.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F358790i390CB897016C2AE5%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22LJX_0-1758943732075.png%22%20alt%3D%22LJX_0-1758943732075.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3Ebut%20still%20will%20report%20mcu.h%20-%26gt%3B%20Mcu_Cfg.h%20compiler%20%22%5B!%22%20error%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22LJX_2-1758943975919.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22LJX_2-1758943975919.png%22%20style%3D%22width%3A%20360px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F358792iB64719AD9DE361DD%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22LJX_2-1758943975919.png%22%20alt%3D%22LJX_2-1758943975919.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EQ1%3A%20Please%20help%20to%20check%20is%20environment%20problem%3F%3C%2FP%3E%3CP%3EQ2%3A%20I%20try%20to%20set%20LIN%20stack%20configuration%20in%20S32DS%2C%20then%20port%20the%20LIN%20code%20to%20my%20keil%20compile%20environment%2C%20can%20you%20give%20some%20advise%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3ERegards%2C%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2177278%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Lin_Slave_S32K118_Example_DS%20compile%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2177278%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%40%3CSPAN%3ELJX%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EJudging%20from%20the%20error%20in%20your%20screenshot%2C%20you%20haven't%20installed%20RTD%20and%20LIN%20STACK%20properly.%20Please%20double-check%20your%20installation.%3C%2FP%3E%0A%3CP%3EFor%20example%2C%20you%20can%20try%20opening%20some%20of%20the%20examples%20provided%20with%20RTD.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2177254%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Lin_Slave_S32K118_Example_DS%20compile%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2177254%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20try%20to%20update%20the%20source%20code%2C%20then%20i%20will%20get%20error%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22LJX_1-1759131347768.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22LJX_1-1759131347768.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F358847i25D889D58388A452%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22LJX_1-1759131347768.png%22%20alt%3D%22LJX_1-1759131347768.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ELIN%20Stack%20document%20show%20support%20S32DS%20V3.6%2C%20but%20now%20I%20use%20S32DS%20V3.6.2%2C%20so%20this%20is%20S32DS%20version%20problem%EF%BC%9F%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22LJX_2-1759131373868.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22LJX_2-1759131373868.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F358848iE9C6838539F3D1D7%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22LJX_2-1759131373868.png%22%20alt%3D%22LJX_2-1759131373868.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2177126%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Lin_Slave_S32K118_Example_DS%20compile%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2177126%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22mailto%3AHi%40LJX%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EHi%40LJX%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EHave%20you%20try%20to%20click%20Update%20code%20before%20compile%20project%3F%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Senlent_0-1759114685727.png%22%20style%3D%22width%3A%20643px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Senlent_0-1759114685727.png%22%20style%3D%22width%3A%20643px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F358823i1EDC907AED0F6D91%2Fimage-dimensions%2F643x312%3Fv%3Dv2%22%20width%3D%22643%22%20height%3D%22312%22%20role%3D%22button%22%20title%3D%22Senlent_0-1759114685727.png%22%20alt%3D%22Senlent_0-1759114685727.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E