Author Topic: ?command line alternatives to the IDE  (Read 4146 times)

stevend

  • Newbie
  • *
  • Posts: 8
?command line alternatives to the IDE
« on: April 20, 2013, 03:57:09 pm »
As a linux/bash/vi troglodyte,  I like to avoid self contained IDE's.   Can someone point me to some explanation of compiling and uploading from a command line interface?

I see that micronucleus can be invoked from a command line, but I can't find any details for options and arguments.

many thanks.

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Re: ?command line alternatives to the IDE
« Reply #1 on: April 20, 2013, 08:59:11 pm »
run micronucleus with the "--help" argument, I believe brings up all the options which are pretty self explanatory - also check out the source for more info on them


compiling is just the standard avr-gcc setup used by Arduino, no changes to that except for the tiny specific cores files

stappers

  • Newbie
  • *
  • Posts: 8
Re: ?command line alternatives to the IDE
« Reply #2 on: May 02, 2013, 11:25:35 am »
micronucleus can be invoked from a command line, but I can't find any details for options and arguments.


micronucleus --run yoursketch.hex

stappers

  • Newbie
  • *
  • Posts: 8
Re: ?command line alternatives to the IDE
« Reply #3 on: May 02, 2013, 11:30:35 am »

micronucleus --run yoursketch.hex


With micronucleus in your PATH and yoursketch.hex in working directory.

Otherwise

/usr/bin/micronucleus --run /home/stevend/sketches/builddir/yoursketch.hex