Commit graph

72 commits

Author SHA1 Message Date
Christopher Peplin
c86ce093ce Add a script to compile examples as an automated test suite.
* Added script/boostrap.sh to download the Arduino IDE and MPIDE (for
    chipKIT). Tested in Linux, should work in Cygwin and OS X too.
* Added script/runtests.sh to run "make" in each example project and
    collect the results. The script returns -1 if any fails.
* Moved currently testable examples to a "tests" directory, separate
    from examples that require alternative cores.
2014-09-09 23:17:15 -04:00
Joseivaldo Benito Junior
5420e920fb Small typo, can lead to copy and paste fails
Signed-off-by: Joseivaldo Benito Junior <jrbenito@benito.qsl.br>
2014-08-28 23:42:47 -03:00
Simon John
331aea254e Add some documentation regarding overloading system libs and reporting bugs 2014-08-08 10:15:08 +02:00
Sudar
92b775d794 Add information about Bare-Arduino-Project in README
Fix #220
Fix #221
Fix #225
2014-07-16 12:13:18 +05:30
Sudar
cc5268cceb Add "Interfacing with other projects" section in README 2014-07-16 12:08:32 +05:30
Simon John
8cdae73deb Made all the changes into one commit that could be a patch for master 2014-07-12 19:05:35 +02:00
Sudar
542529ae4f Bump up version to v1.3.4 for release 2014-07-12 21:00:51 +05:30
Ronan Barzic
05a0c7d377 Make Arduino.mk compatible with Flymake
If Flymake is configured to parse .ino files the same way as for c/c++
files, it creates a temporary file (_flymake.ino) in the same directory
as the original file. It fails with the current Arduino.mk because of
the check for multiple .ino files. This fix removes the check
only when flymake is calling the Makefile (Flymake will call make with
the variable CHK_SOURCES set to the temporary file name)

To make Flymake working with .ino file :

Add :
check-syntax:
	$(CXX_NAME) -c -include Arduino.h   -x c++ $(CXXFLAGS)   $(CPPFLAGS)  -fsyntax-only $(CHK_SOURCES)

in the project Makefile after the inclusion of the Arduino.mk file

Edit the flymake configuration :
M-x customize-option RET
flymake-allowed-file-name-masks RET (using auto completion !)

Add the line :

("\\.ino\\'" flymake-simple-make-init)

Then click on "Apply and Save" button

Fix #211
2014-06-10 16:05:08 +05:30
Simon John
634bd9bc9c Some language clean up 2014-05-21 00:14:46 +01:00
Simon John
b42d05d8b1 Bump up version to v1.3.3 for release
Fix #189
2014-04-13 09:56:32 +05:30
Sudar
ba2b27db28 Bump up version to v1.3.2 for release 2014-04-11 20:26:11 +05:30
EAGMnor
32d35da2a0 Tweak AVRdude conf file detection in windows
On windows the AVRdude configuration file is now detected properly. The
comments and `README` are updated as well.

Fix #187
2014-04-11 20:24:17 +05:30
Simon John
392a6b9db1 replace perl reset script with python one
Fix #180
Fix #127
2014-04-02 18:57:00 +05:30
tinyladi
668a447054 Add a reference makefile, with real-world example 2014-03-06 22:48:25 +05:30
Sudar
e8634fb642 Document all the variables that can be overridden in child makefile
Huge thanks to @sej7278 for doing this

Fix #75
2014-02-04 18:26:43 +05:30
Simon John
1893199dad BUNDLED_AVR_TOOLS_DIR is now set correctly using := instead of ?=,
so that installations using only the arduino-core packages that
don't have the $(ARDUINO_DIR)/hardware/tools/avr directory can
still use the avr-g++ tools found in the $PATH (/usr/bin)

Previously BUNDLED_AVR_TOOLS_DIR was set to an empty string as
the directory doesn't exist, which meant that "ifdef BUNDLED_AVR_TOOLS_DIR..."
was set rather than skipping to "else SYSTEMPATH_AVR_TOOLS_DIR...."

No user would set BUNDLED_AVR_TOOLS_DIR so the assignment operator
:= should be used not ?=

Updated the version info/changes in various locations.
2014-02-01 00:41:00 +00:00
Sudar
20b9774645 Bump up version to v1.3.0 for release 2014-01-29 11:53:26 +05:30
Sudar
0526855340 Update README.md about compatibility with Windows
Fix #94
2014-01-29 11:32:16 +05:30
Sudar
418109c11b Document that ARDUINO_DIR must be a relative path in Windows
Fix #156
2014-01-29 10:44:12 +05:30
Christopher Peplin
427c4573cd Document that ARDUINO_DIR must be a relative path in Windows. 2014-01-28 10:31:40 -05:00
Christopher Peplin
5445142acf Use more reliable serial device naming in Windows.
* Strip leading "/dev/" from MONITOR_PORT before handing to avrdude in Windows.
* Use the more widely available awk tool instead of bc to subtract 1
    from COM ID (as opposed to `bc`).
* Allow Windows user to specify "com1" or just "1".
* Document MONITOR_PORT format for Windows users.
2014-01-28 10:00:37 -05:00
Simon John
d4e0a383ae Simplify package vs git checkout detection
Fix #147
Fix #151
Fix #153

The following are the detailed changes

- Remove ARDMK_PATH, ARDMK_FILE and arduino-mk subdirectory
- Looks for ard-reset-arduino in $PATH or ARDMK_DIR/bin
- Fix git-archive command in RPM SPEC file
- Remove some whitespace
- Remove arduino-mk dir from debian package's arduino-mk.install
- Update docs to reflect the above changes
- Bump Up version to 1.2.0
2014-01-14 14:23:25 +05:30
Sudar
6e2708a446 Bump up version number to v1.1.0 for release 2013-12-26 16:07:58 +05:30
Sudar
cf6ffb5d6e Add information about license in README.md
Fix #128
2013-12-26 16:05:46 +05:30
Sudar
9c22972b98 Bump up version to v1.0.1 for release
This is just a minor bug fix release
2013-09-25 15:22:05 +05:30
Sudar
7ad24ef8d2 Fix link to colorgcc in readme 2013-09-22 18:36:10 +05:30
Sudar
8cf353d551 Bump up version to v1.0.0 for release 2013-09-22 18:31:44 +05:30
Sudar
5b80b540bb Add note about using colorgcc with this makefile
Fix #119
2013-09-22 18:26:59 +05:30
Sudar
8fee3165f4 Update instructions about ARDMK_DIR and ARDMK_PATH
Both `ARDMK_DIR` and `ARDMK_PATH` needs to be set differently based on
whether the makefile is installed through a package or git checkout.

Refer to #111 to find out why it is needed.
2013-07-28 11:42:21 +05:30
Christopher Peplin
288c53c312 Fix typo in Perl command in README 2013-07-18 12:01:39 -04:00
Sudar
290a4986d6 Make ARDMK_PATH and ARDMK_DIR backward compatible
When support for ChipKit was added recently (issue #98) it broke the way
ARDMK_PATH and ARDMK_DIR were handled, if the package was installed
through package. It was only working if you have done a git checkout.

This commit fixes it, but searching for `Common.mk` both in
`ARDMK_DIR/arduino-mk` and `ARDMK_DIR/` directories.

Fix #110
2013-07-12 16:07:49 +05:30
Christopher Peplin
474da2ced4 Remove Perl YAML dependency from documentation.
YAML is no longer necessary in Perl since ard-parse-boards was implemented in the Makefile itself.
2013-07-09 13:01:08 -04:00
Sudar
13804ff861 Update instructions about including libraries 2013-06-28 09:04:56 +05:30
Ralf Doering
d8b52bdd34 Mention AVRDUDE and AVRDUDE_CONF in README.md. 2013-06-25 20:18:03 +02:00
Ralf Doering
74882aa13a Add openSUSE perl package hints to README.md.
Signed-off-by: Ralf Doering <ralf@rdoering.net>
2013-06-25 19:41:33 +02:00
Sudar
18688003a3 Add installation guide to Readme file 2013-06-23 16:58:19 +05:30
Sudar
3b35453564 Release v0.12.0 2013-06-20 12:58:57 +05:30
Sudar
109693ad68 Release v0.11.0 2013-06-15 19:48:47 +05:30
Sudar
1012f765fe Tag v0.10.6 for release 2013-06-14 17:49:02 +05:30
Sudar
2ff244eeaf Release v0.10.5 2013-06-11 16:16:05 +05:30
Sudar
2453f35bae Add todo's and known issues 2013-06-11 15:55:05 +05:30
Sudar
f26a134418 Add support for leonardo.
Leonardo board requires a new way of handling board reset.
There is a new script which does the reset differently for leonardo boards.
close #30 and close #44
2013-06-11 15:46:22 +05:30
Sudar
dc3ec57330 Added information about the changes that went in v0.10.4 2013-05-31 09:42:44 +05:30
Sudar
d8bac0fb14 Moved all version information and change log into HISTORY.md file 2013-05-31 09:29:36 +05:30
Sudar
cb5ce2c9af Updated readme to add information about change in maintainers 2013-05-19 16:33:59 +05:30
Sudar
cd36eb6abb Updated Readme 2013-01-21 21:17:39 +05:30
Sudar
0deef0dd4c Merge branch 'master' of git://github.com/fr0sty1/Arduino-Makefile 2013-01-21 21:15:57 +05:30
fr0sty1
c8253f60ce Update README.md 2013-01-21 00:01:09 -06:00
Sudar
4446705995 Merged changes from https://github.com/alohr 2012-12-15 19:54:02 +05:30
Sudar
addd140302 Enabled warnings 2012-12-15 19:35:58 +05:30