I have a question regarding git and Atmel Studio. I have a project with common code for two target devices.
When changing device in Atmel Studio through the menu, git will detect a lot of changes. (See attachment for details.) This of course is not useful when tracking changes to my other source code.
A possible solution would be to create two projects in one Atmel solution, and to predefine (and never change) the target device per project, and to link some shared/common code. One downside of this option is that there is also (mainly ASF) code that is shared in the projects, but that is not really shared and therefore duplicate in both projects. Which means that when we add another ASF module to one project, we have to do it on the other project as well.
Which option is better? Is it a matter of taste? Or is there another option? Hope to hear from you guys. Thanks in advance!