i was able to build a commercial program consisting of 27 .c/h files, producing a .elf and .hex file
can i use the arduino IDE to program it into a arduino mega or just use avrdude?
i was able to build a commercial program consisting of 27 .c/h files, producing a .elf and .hex file
can i use the arduino IDE to program it into a arduino mega or just use avrdude?
Is it possible? Yes. For example, here is a hack we did to make the Arduino IDE upload a .hex file to a Pro Micro to turn it into a UPDI programmer:
Is it worth doing just for a one-off upload of a .hex file? No. Just use avrdude. You can use the Arduino IDE to help generate your avrdude command though:
thanks
i eventually realized i can look at the command lines the IDE generates and see the options to avrdude. In particular, i needed to see the programmer type, wiring.