cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with creating GIT repository under STMCube IDE

JimEno
Associate III

I am using STMCube IDE and I fetched STM example project Lw_TCP_Echo_Server to be loaded into my STM Evaluation board Nucleo-H7S3L8. With some effort, I got it working. I want to use this project as a code base for my actual Ethernet project.

I want to archive this original, unmodified, intact, as is project into a git repository (not on GitHub yet). I want the repository to look exactly like the current project in my workspace (all files and folders intact). I cannot seem to do this. The example is a nested project and all attempts to commit have resulted in lost files and butchering the file folder structure. I end up with two visible projects in the Project Explorer (one in my workspace and one in my git repo) and neither one builds. I have tried  'team share projects', 'project copy paste', 'create from existing IOC', and anything else ChatGPT has suggested with no success. 

I want to do this under STMCube IDE not on the command line. STMCube does not seem to recognize/capture all the files and folders needed to create and commit the project to a git repository. If I need to split the nested project into its component projects, I guess I could be happy with that. I have not been able to find any forum posts on this very basic operation. I can't move forward with development without being able to preserve my work product.

Help would be appreciated.

0 REPLIES 0