How to create sub projects under main project

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

How to create sub projects under main project

Jump to solution
990 Views
shubh1006
NXP Employee
NXP Employee

Hi all.

I am using S32DS 3.2, i want to create sub projects under one top level project. Is this possible with S32DS, as i did it with GHS, same i want to do with S32DS.

Please let me know whoever tried this or know how to do ?

Thank you & regards

Shubham

Tags (1)
0 Kudos
1 Solution
938 Views
jiri_kral
NXP Employee
NXP Employee

Hi Shubham, 

yes, just add to Project Main Project reference for Project1, 2 and 3. Project 1,2,3 left without any other project reference. 

 

BR

Jiri

View solution in original post

0 Kudos
3 Replies
966 Views
shubh1006
NXP Employee
NXP Employee

Hi @jiri_kral ,

Thanks for the update.

Suppose if i created 4 projects named: Project_main, project1, project2 and project3. If i build project1 then it should create project1.elf, and same for other 2 projects. When i build project_main the it should build all 3 projects.

Is it possible to do?

Thanks,

Shubham

0 Kudos
939 Views
jiri_kral
NXP Employee
NXP Employee

Hi Shubham, 

yes, just add to Project Main Project reference for Project1, 2 and 3. Project 1,2,3 left without any other project reference. 

 

BR

Jiri

0 Kudos
973 Views
jiri_kral
NXP Employee
NXP Employee

Hi Shubham, 

unfortunately S32DS (Eclipse) doesn't support sub-project inside main one. You can specify dependency on another project in Project properties: 

s32ds_2020-11-18_12-44-50.png

 

Hope it helps.

 

BR, 

Jiri 

0 Kudos