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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

2,677件の閲覧回数
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 件の賞賛
返信
4 返答(返信)

2,666件の閲覧回数
manderson107
Contributor I

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

# MCUXpresso
/.metadata/
/*logs/
0 件の賞賛
返信

2,664件の閲覧回数
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 件の賞賛
返信

2,646件の閲覧回数
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 件の賞賛
返信

2,671件の閲覧回数
ErichStyger
Specialist I
0 件の賞賛
返信