My favorites | Sign in
Project Home Wiki Issues Source
Project Information
Members
Links

build&upload Arduino sketch on cmdline with scons!

  • No java needed!
  • Use Arduino IDE's conf. so, all board which supported by Arduino supported by arscons.
  • Works on Ubuntu Linux, Mac OS X and Windows.
  • Need pyserial to triggering reset just before upload.
  • refer InPractice page for arscons in practice.

Basic Usage:

  1. make a folder which have same name of the sketch (ex. Blink/ for Blink.pde)
  2. put the sketch and the SConstruct under the folder.
  3. to make the HEX. do following in the folder.
  4. $ scons
  5. to upload the binary, do following in the folder.
  6. $ scons upload
  7. refer ExpertUsage for change the confs.
  8. refer InPractice for arscons in practice (and hacks!)

Thanks to:

  • Ovidiu Predescu <ovidiu@gmail.com> and Lee Pike <leepike@gmail.com> for Mac port and bugfix.
  • Steven Ashley <steven@ashley.net.nz> for Windows port.

References

Powered by Google Project Hosting