-1

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.

gre_gor
  • 6,669
  • 9
  • 47
  • 52
Vignesh
  • 54
  • 8

1 Answers1

0

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/

Plochie
  • 3,944
  • 1
  • 17
  • 33
  • Thanks for the suggestion. I went through platformIO. But I feel a bit overwhelmed. Actually, I want to compile the Arduino code from Android. I don't want to use any IDEs. I came across the [Physicaloid library](https://github.com/ksksue/PhysicaloidLibrary). But it requires the .hex file. Hope the question is clearer now! – Vignesh May 12 '17 at 17:07
  • Are you designing app from scratch for this? – Plochie May 12 '17 at 17:09
  • Yes. But it's not exactly an IDE. Just a part of it. – Vignesh May 12 '17 at 17:11
  • You can refer ArduinoDroid app from play store. The coder stated that the app contains IDE and uploader. Also, consider the example like, you cannot compile c code without turbo c, you have to use Arduino compiler in the app. Hope this clarifies some things. – Plochie May 12 '17 at 17:19