Sketch Compiler

Can a Sketch be compiles in one single file? The people I work for has minimal to zero knowledge of downloading a sketch with the IDE. Is there some 'trick' to compile the application in a single. Much like Android's .APK files.

Are you asking whether the sketch can be all in a single file before compiling it or a single file after compiling it ?

A sketch is compiled to a single file. You can use sketch → export compiled binary to create it in a subdirectory of the sketch directory.

You can send it to the "client" to upload. They only need to understand avrdude :slight_smile: You can solve that by providing a batch file or shell script where they basically only need to specify the serial port. For windows, there is a small tool called xloader that might be helpful; I've never used it.

The following MCU are supported by xloader application only.

grafik

Have a nice day and enjoy coding in C++.

I need a single 'program file' after compilation. The guys I work for has limited technical knowledge. There is no way that they will be able to work on the IDE..

Thanks for the help. You solved a big problem on our side...

What type of Arduino? The ones that can connect to Wifi you can just have the device download it's own firmware from your website. You can even set it up so that it automatically checks every so often to see if there's new firmware available and if so download and install all without the end user even knowing.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.