Uploading sketches to Arduino using own program

Hi everyone!

We are developing a kind of student project, which includes C++ software product. One of the ideas was to integrate arduino compiler (futher whole IDE) into our soft, but how we can do that nobody knows :frowning: Search through the net returned no results. If anyone did smth similar, please, help us to find a way.

thanks

but how we can do that nobody knows

Have you at least enabled verbose mode for compiling and uploading? Perhaps a clue-by-four would jump up and whack you if you did.

What @PaulS is hinting at is that the Arduino IDE actually runs several programs to compile and upload programs. If you study the commands it uses to do that you will learn what your own code would need to do.

...R

@PaulS, @Robin2 thanks, we'll try that.