Skip to main content
Associate II
December 12, 2023
Solved

TouchGFX Riverdi and Github

  • December 12, 2023
  • 1 reply
  • 1995 views

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?

This topic has been closed for replies.
Best answer by slavaglow

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/

1 reply

Tesla DeLorean
Guru
December 12, 2023

>> 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 VenmoUp vote any posts that you find helpful, it shows what's working..
slavaglowAuthor
Associate II
December 12, 2023

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.

slavaglowAuthorBest answer
Associate II
December 18, 2023

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/