Go Down

Topic: tool pack everything together that is needed to compile to a zip-file (Read 1 time) previous topic - next topic


trying to compile other users code posted in the forum can be a lot of work if you have to install additional libraries.

Does there exist a tool that scans the sourcecode which files are #include packs really everything together into a single ZIP-file which will then work the following way:

Download and unzip the ZIP-file into any folder open the *.INO-file with Arduino-IDE  click compile/upload and it will successfully compile because everything - really everything - is stored into exactly this folder so the compiler has access to it and can compile immediately?

I know central storage of libraries makes it easier to maintain them but you have to eventually update them anyway and sometimes proprietary libraries are used that are not even available on GitHub so for a quick compile and test this would save a lot of manual work.

Does there exist such a tool. Or if not - what do you think about it?

best regards Stefan
any newbee can apply the most professional habit right from the start:
 add only ONE thing at a time. Debug that ONE thing until that ONE thing works reliable - repeat.
Newbee: become a professional by following this rule.


I think it is a great idea, but it's hard enough to get them to use auto-format or code tags.
Please don't PM technical questions - post them on the forum, then everyone benefits/suffers equally


I also like the idea but the main problem I see is that different people use different combinations of libraries for different projects and may tailor the sketch to suit a particular task.
Given that aspect many things would not work OOB and would still need changes.

Most of the github repos contain examples so you often have a good start with basics from there.

It would be a nice side option though for use in the forum where we often have to chase multiple links as the OP cannot remember where they got the library from or is using outdated versions etc.
"Here is what I have" lock  stock and barrel !

It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google (who would have thunk it ! ) or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.


Should be pretty easy; the ide comes up with almost the complete list of files that you'd need to zip.  The hard part would be doing a new sketch dir format designed to hold all the decompressed files without stepping on already installed  libraries.

Go Up