aboutsummaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)Author
2019-02-11Add OpenCR.mk for OpenCR 1.0 board and add example code(example/BlinkOpenCR)Dukejung
2018-10-02Added a test case for moving CORE_LIB in PR #583.Pieter du Preez
This patch is meant to test the link order, if the OTHER_OBJS variable gets used to add 3rd party archives, that depend on the Arduino core lib (the archive pointed to by the CORE_LIB variable). The examples/Blink3rdPartyLib directory contains a stripped down Blink and includes a library in the examples/Blink3rdPartyLib/Toggle sub-directory. The archive, built inside the Toggle directory mimics a 3rd party library. The archive gets built and linked in by using the OTHER_OBS variable in examples/Blink3rdPartyLib/Makefile.
2018-06-14Support for Arduino Due addedJohn Whittington
Update HISTORY.md Add avr core emulation to C sources
2018-02-24SAMD Cortex M0 device support (Zero, MKR1000, etc)John Whittington
Compilation improvements by adding variant as other obj but not working on device Arduino Zero devices with OpenOCD working Created ARM_TOOLS_DIR and define arm toolchain executables in Sam.mk Check avr-gcc on last AVR_TOOLS_DIR detect and indenting formatting GDB debugging and programming added Documentation updates and define ARDMK_VENDOR rather than include Sam.mk Expand all parse_boards when defined rather than when used Trim extra defines regex working on both macOS and Linux but need better fix Print USB ids and added debug usage to readme Add note on Arduino package dir and made board.txt work Do ARM ARDUINO_ARCH define in Arduino.mk] Add MZeroBlink to non-testable examples for now Remove \B from extra defines grep Add ARDUINO_PACKAGE_DIR for board support files Fix a typo in the README Fix typo in arduino-mk-vars.md Prevent re-including Arduino.mk from Sam.mk when make restarts for upload Add catrina to ARD_REST_OPTS if/else Remove realpath in Sam.mk for cygwin compatability SAMD bootloader support in ard-reset using --zero Enters bootloader using open/close of port at 1200 BAUD, then polls the attached devices for new port enumerating (bootloader). This is how the Arduino IDE operates Bossa support for Zero, MKR1000 etc Re-word Arm README section after Native USB development Reset for zero refactored like IDE Zero bootloader reset tested on macOS and comments added Re-word ARM bootloader and remove imports from testing Patch changes ARDMK_VENDOR->ARCHITECHTURE, show_config_vars, ignore CORE_VER if emtpy Common.mk header guard, openocd/bossac avoid separator, typos Documentation update for patch changes Move ARM tools to Sam.mk and auto-detect include Correct accidental commit of Blink Makefile change Lib fix with alternative core and documentation Append zero to ARD_RESET_OPTS rather than set Prioritise package ARM upload tools over path installed Add note in README on ARM tools versions Move openocd variant config script flag to OPTS
2017-12-28Moved ATtiny examples from Blink to ATtinyBlink and updated the instructions ↵Simon John
(issue #537). Updated the alternate core instructions for e.g. ATmega644p for IDE 1.8
2017-07-12Add makefile for Robotis OpenCM & update version to 1.6.0Karl Semich
2017-06-02Fix paths in the example MakefileMilan Vancura
2017-06-02Document how to setup Makefile for 3rd party boardsMilan Vancura
2015-09-21Correct path ARDUINO_DIR for MacsThomas Kilian
2015-08-04Fix typomichael
2015-07-02Added examples for various boards and IDE versions to the Blink example.Simon John
2015-05-15Updated some documentation to clarify 1.5+ settings.Simon John
Fixes #352
2015-05-09example: "all of the"Daniel Cousens
thanks @sej7278
2015-05-09example: further spelling error fixesDaniel Cousens
2015-05-09Fix s/detailled/detailed typoDaniel Cousens
2015-03-28Replaced UTF-8 copyright symbol causing sed errors on OSXSimon John
Fixes issue #335
2015-03-28Add a new example to show how serial monitor can be usedSudar
2015-03-28Whitespace fixes in examplesSudar
2014-12-30Tidy new arduino mk varsGabrielius Mickevicius
Add CORE and FORCE_MONITOR_PORT to arduino-mk-vars.md and FORCE_MONITOR_PORT to config print.
2014-12-30Note on using root in BlinkNetworkRPiGabrielius Mickevicius
2014-12-30Example: set fuses and upload hex on remote programmerGabrielius Mickevicius
Implements two new make rules: 'net_set_fuses' executes a single ssh command, 'net_upload' pipes hex through ssh connection. The example also showcases the FORCE_MONITOR_PORT feature.
2014-10-22move ARDUINO_DIR auto-detection into Common.mk. This allows Teensy.mk to use ↵stepcut
auto-detected location.
2014-10-22Added BlinkTeensy example which uses the Teensy.mk file.stepcut
2014-09-21Removed Travis-CI references from all examples. Regular usersSimon John
are not affected by test scripts/makefiles. Added makefile and gcc version info to config output. Tested on Arduino 1.0.6
2014-09-20Move scripts inside tests directory.Christopher Peplin
Fixed https://github.com/sudar/Arduino-Makefile/issues/260
2014-09-20Move tests back to 'examples', skip non-testable examples when testing.Christopher Peplin
This fixes https://github.com/sudar/Arduino-Makefile/issues/259.
2014-09-09Add a script to compile examples as an automated test suite.Christopher Peplin
* 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-08-14MakefileExample: Fix AVR_TOOLS_DIR defaultBen Gamari
Judging by the default for OS X directly above it and the fact that the current default doesn't work, it seems this should not include the `/bin`.
2014-08-13add CFLAGS_STD and CXXFLAGS_STD defaultsladislas
2014-03-06Add a reference makefile, with real-world exampletinyladi
2014-01-28Don't hard code MONITOR_PORT in examples, for more flexible testing.Christopher Peplin
2014-01-14Remove `arduino-mk` folder from all examplesSudar
Fix #154
2013-09-22Add a README file for /examples folderSudar
Fix #74
2013-07-10Rename ARDUINO_PORT to MONITOR_PORT to reflect support for other platforms.Christopher Peplin
This commit includes backwards compatibility with the ARDUINO_PORT flag if that's set. Fix #109
2013-07-09Add support for the Digilent chipKIT platformChristopher Peplin
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-09Don't commit example build directories to git.Christopher Peplin
2013-06-23Auto detect alternate core path from sketchbook folderSudar
Fix #86
2013-06-22Add Tiny SoftwareSerial exampleSudar
This example shows how to use softwareSerial in a ATtiny device using the ATtiny core
2013-06-22Remove "utility" from example makefilesSudar
From commit fc968b919148eb99d1d58a8454a71bf703ca7c78 files inside utility are automatically build. Fix #84
2013-06-15Add an example to show how to compile AVR C filesSudar
2013-06-09Added example to show how to program using Arduino as ISP. Fixes #55Sudar
2013-03-16removed unnecessary .DS_StoreJeff Kowalski
2012-04-29Fixed broken examples/Blink/MakefileMartin Oldfield
2012-04-29Rejig path calculations.\nMove reset target to Perl.\nMartin Oldfield
2012-04-29Added monitor target and AnalogInOutSerial exampleMartin Oldfield
2012-03-25Remove build files and add to gitignore.Christopher Peplin
2012-02-28Remove more object filesMartin Oldfield
2012-02-28Remove object filesMartin Oldfield
2012-02-28Initial NWO check inMartin Oldfield