I do Arduino-based device with sensors and web interface. I have code in C++ for arduino (hardware part (in Arduino)) and code in Java (software part (on server)). These two codes are relatively independent. Hardware and software part can work without second part.
Now I have one repository with "hw" directory and "sw" directory. I do not like it. Revision of hw and sw parts are together. It is unclear.
What is the best way?
- Still use 2 directories in one repository?
- Create two independent repositories?
- Create one "main" repository and inside this create two submodules http://git-scm.com/docs/git-submodule ?
- Other solution?