Commit graph

8 commits

Author SHA1 Message Date
Osamu Aoki
9357f7d3ab Use $(ARDMK_DIR)
Signed-off-by: Osamu Aoki <osamu@debian.org>
2020-04-13 00:28:41 +09:00
Simon John
6be2614c30 Removed Travis-CI references from all examples. Regular users
are not affected by test scripts/makefiles.

Added makefile and gcc version info to config output.

Tested on Arduino 1.0.6
2014-09-21 19:36:50 +01:00
Christopher Peplin
086c6e96ca Move tests back to 'examples', skip non-testable examples when testing.
This fixes https://github.com/sudar/Arduino-Makefile/issues/259.
2014-09-20 16:14:32 -04:00
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
Christopher Peplin
e50caad1e9 Don't hard code MONITOR_PORT in examples, for more flexible testing. 2014-01-28 09:44:33 -05:00
Sudar
ce9c54848f Remove arduino-mk folder from all examples
Fix #154
2014-01-14 14:36:24 +05:30
Christopher Peplin
266d629c25 Rename ARDUINO_PORT to MONITOR_PORT to reflect support for other platforms.
This commit includes backwards compatibility with the ARDUINO_PORT flag if
that's set.

Fix #109
2013-07-10 09:05:38 +05:30
Christopher Peplin
df88db2cfb Add support for the Digilent chipKIT platform
This commit modifies a few things in Arduino.mk to be able to support
overriding the necessary configuration options to support the chipKIT build,
and also includes an example sketch configured to build for the Max32 platform.

In addition the following changes were done as well

- Control C standard with a CFLAGS_STD flag, GNU99 by default.
- Duplicate show_config_variable in each sub-makefile.
- Remove redundant output of ARDUINO_PREFERENCES_PATH from config table.
- Defer Priting ARDMK_DIR until Arduino.mk.
- Define names of compiler tools earlier to use for path checking.

Duplicating show_config_variable is unfortunate because the code is duplicated,
but I don't see a good way around it since we need to dupliacate the check
for ARDMK_DIR before we can find Common.mk.

Fix #98
2013-07-09 21:42:05 +05:30