S32DS project folder structure

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32DS project folder structure

ソリューションへジャンプ
1,379件の閲覧回数
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 解決策
1,354件の閲覧回数
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 返答(返信)
1,355件の閲覧回数
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 件の賞賛
返信
1,331件の閲覧回数
JCastro
Contributor II
Good to know, thanks for the answer Julián.
0 件の賞賛
返信
%3CLINGO-SUB%20id%3D%22lingo-sub-1852540%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32DS%E3%83%97%E3%83%AD%E3%82%B8%E3%82%A7%E3%82%AF%E3%83%88%E3%81%AE%E3%83%95%E3%82%A9%E3%83%AB%E3%83%80%E6%A7%8B%E9%80%A0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1852540%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF%E3%80%81%E7%A7%81%E3%81%AF%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%A0%E3%83%95%E3%82%A9%E3%83%AB%E3%83%80%E3%83%97%E3%83%AD%E3%82%B8%E3%82%A7%E3%82%AF%E3%83%88%E6%A7%8B%E9%80%A0%E3%81%A7S32DS%E3%83%97%E3%83%AD%E3%82%B8%E3%82%A7%E3%82%AF%E3%83%88%E3%82%92%E7%94%9F%E6%88%90%E3%81%97%E3%82%88%E3%81%86%E3%81%A8%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%81%E7%A7%81%E3%81%AFS32K311%20MCU%E3%81%AEhelloworld%E3%81%AE%E4%BE%8B%E3%81%8B%E3%82%89%E3%83%97%E3%83%AD%E3%82%B8%E3%82%A7%E3%82%AF%E3%83%88%E3%82%92%E7%94%9F%E6%88%90%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%E7%A7%81%E3%81%AF%E6%AC%A1%E3%81%AE%E6%A7%8B%E9%80%A0%E3%81%8C%E6%AC%B2%E3%81%97%E3%81%84%E3%81%A7%E3%81%99%3A%3C%2FP%3E%3CBR%20%2F%3E%3CPRE%20class%3D%22lia-code-sample%20language-c%22%3E%3CCODE%20translate%3D%22no%22%3E-%20app%2F%0A-%20libs%2F%0A-%20board%2F%0A%20%20%20%20-%20S32K311%2F%0A%20%20%20%20%20%20%20%20-%20generate%2F%0A%20%20%20%20%20%20%20%20-%20S32K311.mex%0A%20%20%20%20%20%20%20%20-%20rtd%2F%0A%20%20%20%20%20%20%20%20-%20...%3C%2FCODE%3E%3C%2FPRE%3E%3CBR%20%2F%3E%3CP%3E%E3%83%97%E3%83%AD%E3%82%B8%E3%82%A7%E3%82%AF%E3%83%88%E3%81%AF%E6%AD%A3%E5%B8%B8%E3%81%AB%E3%83%93%E3%83%AB%E3%83%89%E3%81%95%E3%82%8C%E3%81%BE%E3%81%99%E3%81%8C%E3%80%81%E7%94%9F%E6%88%90%E3%81%95%E3%82%8C%E3%81%9F%E3%82%B3%E3%83%BC%E3%83%89%E3%82%92%20(S32K311.mex%20%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6)%20%E6%9B%B4%E6%96%B0%E3%81%99%E3%82%8B%E3%81%A8%E3%80%81RTD%20%E3%83%95%E3%82%A9%E3%83%AB%E3%83%80%E3%83%BC%E3%81%8C%E3%83%97%E3%83%AD%E3%82%B8%E3%82%A7%E3%82%AF%E3%83%88%E3%81%AE%E3%83%AB%E3%83%BC%E3%83%88%E3%81%AB%E8%A1%A8%E7%A4%BA%E3%81%95%E3%82%8C%E3%80%81%E3%81%93%E3%82%8C%E3%81%AB%E3%81%AF%20-%26gt%3B%20%22%3CEM%3E.%2FRTD%2Finclude%3C%2FEM%3E%E3%80%8D%E3%81%A7%E3%81%99%E3%80%82%3C%2FP%3E%3CP%3E%E3%81%93%E3%81%AE%E6%9C%9B%E3%81%BE%E3%81%97%E3%81%8F%E3%81%AA%E3%81%84%E5%8B%95%E4%BD%9C%E3%82%92%E5%9B%9E%E9%81%BF%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95%E3%81%AF%E3%81%82%E3%82%8A%E3%81%BE%E3%81%99%E3%81%8B%3F%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1853097%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E6%97%A5%E6%99%82%3AS32DS%E3%83%97%E3%83%AD%E3%82%B8%E3%82%A7%E3%82%AF%E3%83%88%E3%81%AE%E3%83%95%E3%82%A9%E3%83%AB%E3%83%80%E6%A7%8B%E9%80%A0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1853097%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E7%9F%A5%E3%81%A3%E3%81%A6%E3%82%88%E3%81%8B%E3%81%A3%E3%81%9F%E3%80%81%E3%82%B8%E3%83%A5%E3%83%AA%E3%82%A2%E3%83%B3%E3%81%AE%E7%AD%94%E3%81%88%E3%82%92%E3%81%82%E3%82%8A%E3%81%8C%E3%81%A8%E3%81%86%E3%80%82%3C%2FLINGO-BODY%3E