How to convert my Arduino (.ino) code to .hex. I do not want to use the IDE (Arduino). Is there a way to do this?
How to convert my Arduino (.ino) code to .hex. I do not want to use the IDE (Arduino). Is there a way to do this?
It does exist, but it will not be simple because of the number of bookstores and things to do.
The best way to see the process is to link the compilation details in the Arduino IDE (file-> preferences-> show detailed messages during compilation)
Note that the IDE arduino will copy the .ino file to a .cpp file somewhere in a temporary folder and will work from there.
However the process shown by the arduino IDE can be simplified a bit, but it will always be a hard bone.
P.S. I revolved to complement my answer, because eventually the user does not intend to generate the code "manually" but only an alternative to the arduino IDE, in this case there are other IDE's that can use the same boards and the arduino framework, such as link