upload from laptop with no libraries?

I have a project that needs infrequent (about 4 x a year) uploads...

I have a 'partner' who is not 'computer-saavy'; yet I do all the 'development' ...

I have a 'sketch' and a multitude of 'libraries' (mostly from Adafruit) on my Macs and I can upload any sketch I want...

IS there a way I can set-up my partner's machine to 'upload' but not to 'compile' (where he would have to have all the libraries installed / linked?

OR does his 'system' need to be a 'development' system, also? (have libraries?)

I"m THINKING his system needs libraries, also?

can anyone help, - I can't find this subject matter listed elsewhere?

You could compile the code on your PC and send the compiled HEX file to your friend. Then your friend's PC would need a program that can upload the HEX file to his Arduino. Such programs exist but I have never used one.

Another option may be to write a short Python (?) program for your friends PC which can call the Arduino IDE to compile and upload the program. Then your friend's PC would need the Arduino IDE and the libraries but your friend would not need to know how to use them. This process is illustrated in this Thread.

...R

Both are excellent suggestions - I think I now have the 'fundamentals' of at least two different approaches, - the second sound especially attractive -

thank you very much!

The only thing you need to program an Arduino is avrdude.exe, and a HEX file. A simple Windows batch file can do the upload, using the same command line the IDE uses when you do an upload after a compile. You can see that command line by turning on Verbose mode in the IDE.

Regards,
Ray L.

AFAIK, you can easily compile your sketches with regular gcc.

Check which options the IDE uses - and pass the same ones.