cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX Riverdi and Github

slavaglow
Associate II

I am using Riverdi RVT70HSSFWCA0.
I am creating a project based on the TouchGFX template. A GitHub repository must be created.

After compilation, the project size increased to almost 280 MB.

The size of Project_name\CM7\Middlewares\ is 225 MB.

What files and folders to exclude from the repository?

What will be the recommendations? How to do it?

1 ACCEPTED SOLUTION

Accepted Solutions

I analyzed the template code that TouchGFX creates and wrote it in a .gitignore file:

CM7/Middlewares/ST/
CM7/TouchGFX/build/
CM7/TouchGFX/config/
CM7/TouchGFX/generated/
CM7/TouchGFX/simulator/
STM32CubeIDE/CM7/Debug/

View solution in original post

3 REPLIES 3

>> What will be the recommendations? How to do it?

Get a file manager so you can check / inspect the files. Figure out what the largest contributors are, say static images, fonts, animations, or what ever.

If the stuff in the Middlewares never changes, and comes from some other source, perhaps exclude that stuff completely, or have it levels above the code you keep in the repository, with directions on how / were to get those materials.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

I recently started using TouchGFX, so I don't know what files and folders can be added to .gitignore. I will be grateful for practical advice.

I analyzed the template code that TouchGFX creates and wrote it in a .gitignore file:

CM7/Middlewares/ST/
CM7/TouchGFX/build/
CM7/TouchGFX/config/
CM7/TouchGFX/generated/
CM7/TouchGFX/simulator/
STM32CubeIDE/CM7/Debug/