I need to convert my Arduino code (.ino) to .hex file. I don't want to use the IDE. Is there a way to do this?
I'm sorry if the question is too basic.
I need to convert my Arduino code (.ino) to .hex file. I don't want to use the IDE. Is there a way to do this?
I'm sorry if the question is too basic.
Platform IO should be the sutaible solution for your problem. You can write C++ code in Platform io which then will be converted to .hex. Also, it has provision to import Arduino project also.
Basically, Platform IO is supporting package for Atom code editor. As Atom is open source editor, you may find it easier for other microcontrollers also.
Atom : https://atom.io/
Platform IO: http://platformio.org/