S32DS project folder structure

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

S32DS project folder structure

Jump to solution
518 Views
JCastro
Contributor II

Hello, I'm trying to generate a S32DS project with a custom folder project structure, I generate the project from the hello world example for the S32K311 MCU. I want the following structure:

 

- app/
- libs/
- board/
    - S32K311/
        - generate/
        - S32K311.mex
        - rtd/
        - ...

 

 The project builds successfully, but when I update the generated code (using the S32K311.mex) the RTD folder appears in the root of the project and this include -> "../RTD/include".

Is there any way to avoid this undesired behavior?

 

 

0 Kudos
Reply
1 Solution
493 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @JCastro,

Unfortunately, it is not possible to modify where the code is generated, but you can export the source files:

"Right click > Export... > S32 Configuration Tools > Export Source Files"

Julin_AragnM_0-1713891719947.png

You could also add a script to run as pre/post-build steps, so the desired folders are generated:

Julin_AragnM_2-1713891912319.png

Best regards,
Julián

View solution in original post

0 Kudos
Reply
2 Replies
494 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @JCastro,

Unfortunately, it is not possible to modify where the code is generated, but you can export the source files:

"Right click > Export... > S32 Configuration Tools > Export Source Files"

Julin_AragnM_0-1713891719947.png

You could also add a script to run as pre/post-build steps, so the desired folders are generated:

Julin_AragnM_2-1713891912319.png

Best regards,
Julián

0 Kudos
Reply
470 Views
JCastro
Contributor II
Good to know, thanks for the answer Julián.
0 Kudos
Reply