How to structure folder and file with the S32D build configuration

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

How to structure folder and file with the S32D build configuration

1,905件の閲覧回数
Gama
Contributor II

Hi Community,

I'm facing trouble with the S32 Design Studio IDE. My project's "Components" folder/files aren't compiling or being included in the build, despite following the recommended directory structure. I've tried multiple such as:

"

  • Open your S32 Design Studio project.
  • Navigate to the "Project" menu and select "Properties."
  • In the properties dialog, go to "C/C++ General" > "Paths and Symbols."
  • Under the "Source Location" tab, ensure that the path to your "Components" folder is included. If not, add it.

"

But no success. Please find the attached image that shows the structure that I want I want to compile. 

微信图片_20230831180310.png

Could you please advise on how to configure the build settings correctly and ensure the "Components_A, B, and C" files are included? Any insights or steps would be appreciated.

thanks

 

#S32K #Build #components #build

0 件の賞賛
返信
2 返答(返信)

1,869件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

it is possible share your test project? 

0 件の賞賛
返信

1,811件の閲覧回数
Gama
Contributor II
Hi @jiri_kral i resolved the problem using the following configuration.
*Open your S32 Design Studio project.
*Navigate to the "Project" menu and select "Properties."
*In the properties dialog, go to "C/C++ General" > "Paths and Symbols."
*Under the "Source Location" tab, ensure that the path to your Components" folder is included. If not, add it.

The quesion i have now is how to use the prinft funcion i have posted here https://community.nxp.com/t5/S32K/how-to-use-the-printf-function-in-S32DS-3-5/m-p/1721867#M27023
0 件の賞賛
返信