S32DS issue regarding the reference to external files

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

S32DS issue regarding the reference to external files

615 Views
NXP2
Contributor II

Currently, we are using the demo project. The files in the SDK/platform/drivers/src directory of the project folder are external linked files, which makes it difficult for me to share the project with others as I cannot locate these files. I wonder if there is any way to mount the linked files into the project (excluding the method of copying them one by one).

NXP2_0-1782376311748.png

 

0 Kudos
Reply
3 Replies

590 Views
PavelL
NXP Employee
NXP Employee

Hello @NXP2 ,

What version of SDK for which S32K family do you use?

Best regards,

Pavel

0 Kudos
Reply

574 Views
NXP2
Contributor II

The currently used version is S32SDK_S32K1XX_RTM_4.0.2. As shown in the following figure, the two files come from different folders. Do we need to set anything for this?

NXP2_0-1782396868796.png

 

0 Kudos
Reply

525 Views
PavelL
NXP Employee
NXP Employee

Hello @NXP2 ,

This is expected behavior for older SDK-based S32DS projects. Some SDK driver files are added as Eclipse linked resources, so they are shown in the project tree, but the physical files remain in the installed SDK package location.
 
For sharing such a project, the recommended approach is to provide the project together with the exact S32DS/SDK package version required on the other PC. If a fully self-contained project is needed, the SDK files must be copied into the project and the linked resources/build paths updated accordingly.
 
Please note that newer RTD-based projects generated by S32 Configuration Tools copy the required/generated driver files into the project automatically during the Update Code step.

Best regards,

Pavel

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2386231%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32DS%20issue%20regarding%20the%20reference%20to%20external%20files%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2386231%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ECurrently%2C%20we%20are%20using%20the%20demo%20project.%20The%20files%20in%20the%20SDK%2Fplatform%2Fdrivers%2Fsrc%20directory%20of%20the%20project%20folder%20are%20external%20linked%20files%2C%20which%20makes%20it%20difficult%20for%20me%20to%20share%20the%20project%20with%20others%20as%20I%20cannot%20locate%20these%20files.%20I%20wonder%20if%20there%20is%20any%20way%20to%20mount%20the%20linked%20files%20into%20the%20project%20(excluding%20the%20method%20of%20copying%20them%20one%20by%20one).%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22NXP2_0-1782376311748.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22NXP2_0-1782376311748.png%22%20style%3D%22width%3A%20195px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F390131i6542F52A561B0FA7%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22NXP2_0-1782376311748.png%22%20alt%3D%22NXP2_0-1782376311748.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2386723%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32DS%20issue%20regarding%20the%20reference%20to%20external%20files%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2386723%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F231348%22%20target%3D%22_blank%22%3E%40NXP2%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CDIV%20class%3D%22scriptor-paragraph%22%3E%3CSPAN%3EThis%20is%20expected%20behavior%20for%20older%20SDK-based%20S32DS%20projects.%20Some%20SDK%20driver%20files%20are%20added%20as%20Eclipse%20linked%20resources%2C%20so%20they%20are%20shown%20in%20the%20project%20tree%2C%20but%20the%20physical%20files%20remain%20in%20the%20installed%20SDK%20package%20location.%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%20class%3D%22scriptor-paragraph%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%20class%3D%22scriptor-paragraph%22%3E%3CSPAN%3EFor%20sharing%20such%20a%20project%2C%20the%20recommended%20approach%20is%20to%20provide%20the%20project%20together%20with%20the%20exact%20S32DS%2FSDK%20package%20version%20required%20on%20the%20other%20PC.%20If%20a%20fully%20self-contained%20project%20is%20needed%2C%20the%20SDK%20files%20must%20be%20copied%20into%20the%20project%20and%20the%20linked%20resources%2Fbuild%20paths%20updated%20accordingly.%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%20class%3D%22scriptor-paragraph%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20class%3D%22scriptor-paragraph%22%3E%3CSPAN%3EPlease%20note%20that%20newer%20RTD-based%20projects%20generated%20by%20S32%20Configuration%20Tools%20copy%20the%20required%2Fgenerated%20driver%20files%20into%20the%20project%20automatically%20during%20the%20Update%20Code%20step.%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CP%3E%3CLI-WRAPPER%3E%3C%2FLI-WRAPPER%3E%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EPavel%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2386470%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32DS%20issue%20regarding%20the%20reference%20to%20external%20files%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2386470%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThe%20currently%20used%20version%20is%20S32SDK_S32K1XX_RTM_4.0.2.%20As%20shown%20in%20the%20following%20figure%2C%20the%20two%20files%20come%20from%20different%20folders.%20Do%20we%20need%20to%20set%20anything%20for%20this%3F%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22NXP2_0-1782396868796.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22NXP2_0-1782396868796.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F390181iE30CE739F32D2C9D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22NXP2_0-1782396868796.png%22%20alt%3D%22NXP2_0-1782396868796.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2386418%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32DS%20issue%20regarding%20the%20reference%20to%20external%20files%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2386418%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F231348%22%20target%3D%22_blank%22%3E%40NXP2%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3EWhat%20version%20of%20SDK%20for%20which%20S32K%20family%20do%20you%20use%3F%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EPavel%3C%2FP%3E%3C%2FLINGO-BODY%3E