What files would need "git commit" to share an MCUXpresso workspace

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What files would need "git commit" to share an MCUXpresso workspace

2,591 Views
manderson107
Contributor I

 

I wish to commit a workspace to a git repo to collaborate on a MCUXpresso project.  What files are required to ensure proper handoff of the workspace.

I would like to minimize the number of files in the git repo that need to be passed back and forth and build a good .gitignore so others can ignore their own workspace material when committing as well.

Thanks.

0 Kudos
Reply
4 Replies

2,580 Views
manderson107
Contributor I

Thanks, I tried these lines in my .gitignore and things still seemed to be portable...

# MCUXpresso
/.metadata/
/*logs/
0 Kudos
Reply

2,578 Views
ErichStyger
Specialist I

You absolutely have to ignore as well the output folder (debug, release, etc).

Plus you really might want to ignore the .settings folder too.

 

Erich

0 Kudos
Reply

2,560 Views
manderson107
Contributor I

Thanks for your suggestions

Working through handing a project back and forth, we found that there is one .settings file that is vital...
<proj name>/.settings/language.settings.xml

This worked well for .gitignore additions with the above exception:


# MCUXpresso Workspace Level
/.metadata/
/*logs/

# MCUXpresso Project Level
*.axf
*.su
*.o
*.d
*.map
*.bin
/.settings/


0 Kudos
Reply

2,585 Views
ErichStyger
Specialist I
0 Kudos
Reply