Skip to main content
11 events
when toggle format what by license comment
Feb 23, 2014 at 2:37 comment added sachleen @AsheeshR having all your files in one directory so the arduino IDE doesn't complain is not a good way to organize projects at all. It's just a way. Feel free to propose a better solution. I don't know of one that still allows you to use the Arduino software.
Feb 23, 2014 at 1:55 comment added asheeshr This is not a good way to organize projects from the point of view of software licenses. If you are including third-party libraries in your project, which may have different licenses, then you may be violating them as soon as you start sharing the project file. Different open source licenses are generally not compatible with each other.
Feb 22, 2014 at 22:50 comment added sachleen I do not. The Arduino IDE is quite limited in many ways. You may want to look into a better environment to work in that has better support for this. People have made custom make files that let you import libraries from other sources as well.
Feb 22, 2014 at 22:30 comment added jfpoilpret One more question, after duplicating your own libraries into the different projects that use them, one of these projects may find some bugs or improvements of a duplicated library; then you have to duplicate changes everywhere again, that is error-prone and time-consuming! Also, if you want to "open" one of these libraries on its own (outside any project) for others to use, you also have to duplicate changes into there. Do you have any trick to work around this problem.
Feb 22, 2014 at 20:47 comment added jfpoilpret Thanks for the update, +1 for your answer. I am curious to see what others do for their own projects.
Feb 22, 2014 at 20:00 comment added sachleen @jfpoilpret I updated my answer with my typical directory structure.
Feb 22, 2014 at 19:59 history edited sachleen CC BY-SA 3.0
added 465 characters in body
Feb 22, 2014 at 19:25 comment added jfpoilpret Agreed. Now where do you put other files for the project and the libraries (scehmatics, documentation)? In a subdir, in the project dir, outside?
Feb 22, 2014 at 19:20 comment added sachleen First point: That's not really a down side, that's just a side effect of keeping libraries and project source together as you wanted with version control. What if another project needs an updated version of the library? What if you modified it? Second point: both will work.
Feb 22, 2014 at 18:50 comment added jfpoilpret Another downside is that I will have to copy the same libraries on many projects. Also, it is not clear to me if you put only YOUR libraries in there or also 3rd-party libraries?
Feb 22, 2014 at 18:38 history answered sachleen CC BY-SA 3.0