cancel
Showing results for 
Search instead for 
Did you mean: 

Hello, I am porting the SBSFU content to a proprietary project. The SDK project examples are with files links, which make it difficult to manage with GIT. How do you recommend to create a maintainable GIT project contains SBSFU content ? thank you :)

dgold.1
Associate III
 
3 REPLIES 3
Bubbles
ST Employee

Hello @dgold.1​ ,

internally, we are also managing our software development in GIT. What files in particular give you the trouble?

BR,

J

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Hey J,

Thanks for answering

1) The STM32CubeExpansion_SBSFU_V2.6.1 size is ~868MB

It is a large content to manage in GIT, especially is the actual needed code on SDSFU is few KB

The intention was to delete the unneeded MCU support?

2) I am working with STM32CubeIDE using EGIT plugin to mange GIT projects and import them from remote repositories to the IDE.

The EGIT plugin manage only the project content...

In order to create SBSFU project from the pack, the needed action is import existing project to the IDE where some of the files are pointed with symbolic links located in other directories.

If I will not add the directories to the project they will not be imported from the GIT

Therefor it seems that the GIT management must be with external GIT client...is that correct?

Could you please describe briefly how you manage the pack sources with the GIT?

Best regards,

Dotan

Jocelyn RICARD
ST Employee

Hello @dgold.1​ ,

I'm not sure to catch your issue.

What I'm usually doing is :

1) Take the package

2) Remove everything not needed in projects, middlewares and drivers

3) in root directory of the package: git init

4) in root directory of the package: git add .

5) then git commit ...

And you are good to go to make all changes you need.

Now, if you want to change the directory structure, to avoid all the directory levels, you will need to change manually the project files and the scripts.

Best regards

Jocelyn