S32DS project folder structure

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

S32DS project folder structure

跳至解决方案
519 次查看
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 项奖励
回复
1 解答
494 次查看
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 项奖励
回复
2 回复数
495 次查看
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 项奖励
回复
471 次查看
JCastro
Contributor II
Good to know, thanks for the answer Julián.
0 项奖励
回复