2023-12-12 09:44 AM
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?
Solved! Go to Solution.
2023-12-18 12:17 PM
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/
2023-12-12 10:18 AM
>> 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.
2023-12-12 10:41 AM
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.
2023-12-18 12:17 PM
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/