Go Down

Topic: Ino to Hex Compile w/o going thru the IDE  (Read 978 times) previous topic - next topic

frewon9

Dec 11, 2018, 03:00 pm Last Edit: Dec 11, 2018, 03:02 pm by frewon9
was searching a way of having a Direct firmware upload to an Arduino / Teensy Project but yet to find a efficient way of doing this

can anyone recommend on ways of converting Ino to Hex and compiling to the Arduino board or Teensy board complete with its libraries without using the IDE .

or is anyone knowledgeable in software dev I can chat to .

and if its possible that can be done on visual studio or Shell .bat

thanks


AWOL

Just save the hex file produced by the compiler and upload it using avrdude.

PaulS

If you enable verbose mode for compiling and uploading, you'll see all the commands that are invoked by the IDE. Type the same commands in a command window, and you'll get the exact same result.
The art of getting good answers lies in asking good questions.

Juraj

You can't write an Arduino sketch if you didn't learn programming. Not the language, but the concepts of programming - algorithms and data types.

Robin2

#4
Dec 11, 2018, 04:17 pm Last Edit: Dec 11, 2018, 04:17 pm by Robin2
can anyone recommend on ways of converting Ino to Hex and compiling to the Arduino board or Teensy board complete with its libraries without using the IDE .
You can use the IDE to compile and upload programs from the command line. Would that meet your need?

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

frewon9

use Arduino CLI or run IDE without GUI (example)
hi Jura dos it also work with libraries.? like include.h since some sketch require libraries to work

Juraj

hi Jura dos it also work with libraries.? like include.h since some sketch require libraries to work
of course
You can't write an Arduino sketch if you didn't learn programming. Not the language, but the concepts of programming - algorithms and data types.

frewon9

plan to run a teensyduino in it so it can be tricky
 

Juraj

plan to run a teensyduino in it so it can be tricky
 
the command line use of IDE is still the same IDE. what it can compile with GUI it ca do without GUI.

I didn't try the new CLI.
You can't write an Arduino sketch if you didn't learn programming. Not the language, but the concepts of programming - algorithms and data types.

Robin2

plan to run a teensyduino in it so it can be tricky
I don't have any experience of teensies but I have had no trouble using the command line to compile and upload programs to Attiny boards and ESP8266 modules.


...R
Two or three hours spent thinking and reading documentation solves most programming problems.

Go Up