Commit graph

15 commits

Author SHA1 Message Date
Christopher Peplin
87e29ea806 Implement ard-parse-boards with shell scripting instead of Perl.
Working towards dropping the dependency on Perl (which very few Windows users
have), this commit implements the required functionality from ard-parse-boards
in a few shell commands from within the Makefile.

Fix #100
2013-07-09 21:45:17 +05:30
Sudar
5abf12bdb2 Move wait-for-reconnection logic inside ard-reset-arduino
When a Leonardo based board is reset, the port disappears and we need to
wait till it comes back.

Earlier this logic was handled by a separate shell script. Now the logic
is moved inside the ard-reset-arduino perl script. This is done to
reduce the number of binaries that are needed by the makefile.

Fix #95
2013-07-02 21:48:33 +05:30
Sudar
8a2e251e95 Move binary sketch size verification logic inside makefile
Earlier bin/ard-verify-size shell script was used to validate that the
binary hex file size is less than the flash memory of the target
microcontroller.

This commit removes the dependency on the external shell script, by
moving the binary size verification logic inside the makefile itself.

Fix #54
2013-07-01 21:54:56 +05:30
Simon John
c284ec93dd Add support for reseting "Micro" Arduino.
Micro can be reset using Leonardo reset functions itself. So call
Leonardo reset functions for Micro as well.

The reset function seems to have some issues for Micro and is not
100% reliable, like Leonardo. See comments in #30.

Fix #80
Fix #83
2013-06-21 08:37:11 +05:30
Sudar
60ca7d2852 Move reseting Leonardo logic to ard-reset-arduino
ard-reset-leonardo which was used for reseting Leonardo was written in
Python. Now the logic is added inside the ard-reset-arduino perl script
itself.

Fix #62

Squashed commit of the following:

commit a63366980f
Author: Simon John <git@the-jedi.co.uk>
Date:   Fri Jun 14 11:36:00 2013 +0200

    who put a space in the shebangs?!

commit c798eb26ea
Author: Simon John <git@the-jedi.co.uk>
Date:   Fri Jun 14 11:10:12 2013 +0200

    replaced ard-reset-leonardo with an update to ard-reset-arduino
    which is now called from Arduino.mk with the --leonardo flag

    removed some trailing whitespace

    upped version string in Arduino.mk
2013-06-14 16:09:38 +05:30
Simon John
d10066072f fixed whitespace and /dev/null redirection 2013-06-13 09:38:27 +02:00
Sudar
36c32e75cc Added leonardo support. Took Code from @guicho271828 2013-06-08 17:26:24 +05:30
Sudar
cd210f96ca Added a todo comment for package authors. Fixes #50 2013-05-31 16:57:25 +05:30
Sudar
ec7f239bce Check if ARDUINO_DIR Env variable is defined or not 2012-12-17 17:12:12 +05:30
Sudar
ee59c7ca26 Merge branch 'master' of git://github.com/ASzc/Arduino-Makefile 2012-12-15 19:46:51 +05:30
Sudar
e3844dfc60 Merge branch 'shebang' of git://github.com/anm/Arduino-Makefile 2012-12-15 19:41:59 +05:30
Fabio Pugliese Ornellas
b5448a64dc Added sketch size verification. 2012-11-12 21:34:51 -02:00
Alistair MacLeod
86b7b034dc Changed shebang to use /usr/bin/env 2012-10-21 21:05:56 +01:00
Alex Szczuczko
184b482a98 Update boards_txt path in bin/ard-parse-boards to include environment variable ARDUINO_DIR
This corrects the behaviour of  ard-parse-boards --boards  , which would
fail if the path to boards.txt on the system didn't match the value
which was hardcoded.
2012-09-25 21:34:26 -04:00
Martin Oldfield
79068828f1 Rejig path calculations.\nMove reset target to Perl.\n 2012-04-29 18:55:17 +01:00