How to structure folder and file with the S32D build configuration

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

How to structure folder and file with the S32D build configuration

1,898 Views
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 Kudos
Reply
2 Replies

1,862 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

it is possible share your test project? 

0 Kudos
Reply

1,804 Views
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 Kudos
Reply