Commit graph

545 commits

Author SHA1 Message Date
Simon John
b45a163b9d Removed all double-quoting except for comments/echo's
Double-quoting was added in 7618da7 to allow for spaces in paths,
that was a bad idea as:

 1. most GNU Make functions can't handle spaces
 2. it breaks variable expansion on Linux/OSX e.g. ~/sketchbook
 3. Windows doesn't like double-quotes - see d5c7ed1

So basically, don't put spaces in your paths, as most Make functions
can't handle them, even if escaped, and its a bit dangerous when
shelling out to grep etc.

Single-quoting is no better either.
2014-11-29 22:31:49 +00:00
Sudar
131809e508 Add information about installing dependencies when installing using
homebrew

Refer to https://github.com/sudar/homebrew-arduino-mk/issues/2#issuecomment-64432785
2014-11-27 19:48:25 +05:30
Sudar
32a12e46d1 Add information about homebrew in ReadME 2014-11-23 20:11:16 +05:30
Sudar
e99deb2079 Merge pull request #298 from PeterMosmans/puttywindows
Added support for PuTTY on Windows
2014-11-23 18:56:08 +05:30
Peter Mosmans
78452da702 Added support for PuTTY on Windows
Use MONITOR_CMD=putty
The optional parameter MONITOR_PARMS can be used as well
2014-11-23 20:38:38 +10:00
Sudar
4b7d999073 Merge pull request #297 from PeterMosmans/cygwincom
Improved Windows (Cygwin/MSYS) support
2014-11-23 15:46:53 +05:30
Peter Mosmans
5f1a5a2ac0 Improved Windows (Cygwin/MSYS) support
Changed RESET_CMD structure under Cygwin
Changed behaviour of get_monitor_port under Windows

DEVICE_PATH always becomes/dev/ttyS[0-9] on Windows
MONITOR_PORT always becomes com[0-9] on Windows
2014-11-23 19:56:49 +10:00
Sudar
6053817833 Merge pull request #292 from sej7278/master
Fix speed regression

Fix #280
2014-11-11 19:26:31 +05:30
Simon John
0df314249a Fix speed regression since 8d443f62c, faster than 1.3.4 now
Audited *some* use of := vs. =, when calling shell/foreach/wildcard,
could probably do with more looking into.
2014-11-10 23:19:00 +00:00
Sudar
5d7bc158d3 Merge pull request #288 from tchebb/fix-ispload-erase
Allow avrdude to erase the chip before programming during ispload
2014-11-08 12:50:12 +05:30
Thomas Hebb
05b57c3cc3 Allow avrdude to erase the chip before programming during ispload
We currently pass the -D (do not erase) option to avrdude
unconditionally in order to work around an Arduino Mega bootloader bug.
However, this has the side-effect of breaking the ispload target for all
non-XMEGA chips, since a write operation on these chips essentially ANDs
the new program with the existing memory contents. If the memory is not
first erased to contain only 0xff, the resulting image is garbage. This
patch makes it so we pass -D when we're using the Arduino bootloader but
don't pass it when we're using ISP directly.
2014-11-07 22:47:08 -05:00
Sudar
fe5c2b6ce1 Merge pull request #289 from sej7278/master
Arduino changed the download link again
2014-11-08 09:03:06 +05:30
Simon John
893adf7f98 Arduino changed the download link again, this time it uses a script,
curl handles it ok luckily.
2014-11-08 02:51:39 +00:00
Sudar
36213ceb06 Merge pull request #287 from sej7278/master
Made CXX compile *.cpp files instead of CC.

Fix #285
2014-11-05 21:21:05 +05:30
Simon John
713997d602 Made CXX compile *.cpp files instead of CC.
Fixes issue #285
2014-11-05 15:09:43 +00:00
Sudar
73f08aad76 Merge pull request #282 from sej7278/master
Add "avrispmkii" to the list of ISP's that don't have a port.

Fix #279
2014-10-24 09:03:17 +05:30
Sudar
3eee9851bb Merge pull request #281 from stepcut/teensy.mk
Add support for Teensyduino 3.x
2014-10-24 09:02:51 +05:30
Simon John
a2c8fe5196 Add's "avrispmkii" to the list of ISP's that don't have a port,
defaults to reading communication_type from avrdude.conf, which
is "usb" usually, rather than setting the -P flag which is the
user override.
2014-10-23 23:44:14 +01:00
stepcut
daacad1d77 added info about Teensy to README.md 2014-10-22 16:44:53 -05:00
stepcut
f162d8fee3 put ARDUINO_DIR block after Travis-CI block else travis will fail. 2014-10-22 15:43:01 -05:00
stepcut
1cddbfb2f4 Teensy.mk: simplify setting of MCU and MCU_FLAG_NAME 2014-10-22 15:29:43 -05:00
stepcut
6534cf8f15 move ARDUINO_DIR auto-detection into Common.mk. This allows Teensy.mk to use auto-detected location. 2014-10-22 15:27:59 -05:00
stepcut
1f5e0b3367 Make BlinkTeensy a NON_TESTABLE_EXAMPLES 2014-10-22 12:29:36 -05:00
stepcut
edf90842c5 Added BlinkTeensy example which uses the Teensy.mk file. 2014-10-22 12:23:52 -05:00
stepcut
b6eb4a8686 Added Teensy to HISTORY.md 2014-10-15 18:33:11 -05:00
stepcut
d029fab8f0 Teensy.mk: default to arm-none-eabi-xxx for executable names. Tweak the upload/reset stuff a little more. Add COPYRIGHT block. 2014-10-15 18:29:26 -05:00
Sudar
8d443f62c8 Merge pull request #277 from lukasz-e/arduino-1.5.x-libs
Arduino 1.5.x libs - handle new library layout (issue #275) and hardware/vendor specific libs (issue #276)
2014-10-14 08:44:24 +05:30
stepcut
969a468bed minor tweaks to Teensy.mk 2014-10-13 19:57:24 -05:00
stepcut
e42d91ed4f support for Teensy 3.x via Teensy.mk 2014-10-13 19:48:07 -05:00
Lukasz Engel
922a8d59bd do not print default (empty) ARDUINO_PLATFORM_LIB_PATH value for arduino 1.0.x 2014-10-13 21:36:29 +02:00
Lukasz Engel
c7219a12b9 remove unwanted TABs 2014-10-12 19:32:55 +02:00
Lukasz Engel
58c94f3d11 Add changelog entry for #275 and #276 2014-10-12 16:48:54 +02:00
Sudar
38f8ba8068 Merge pull request #274 from sej7278/master
Replaced double quotes with singles.

Fix #272
2014-10-12 14:12:41 +05:30
Simon John
d5c7ed15f7 Replaced double quotes with singles when passing arguments to
avr-objcopy. Windows doesn't seem to like double quotes.

Fixes issue #272, thanks @vogt31337
2014-10-12 09:04:57 +01:00
Lukasz Engel
7b74e100ce Arduino 1.5.x - support new library layout and plaform specific system libs
- Add support for 1.5.x library layout.
  (https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification)

- Allow using Arduino 1.5.x platform specific system libraries.
  Arduino 1.5.x has additional directories for platform (vendor/architecture)
  specific libraries - look there when searching for libraries.
2014-10-11 23:56:02 +02:00
Sudar
2c5a66a973 Merge pull request #270 from sej7278/travis106
Update Travis-CI scripts to test against Arduino v1.0.6
2014-09-29 15:55:20 +05:30
Simon John
88c81b6d95 Added ArchLinux package info, thanks Niels.
Linked Fedora packaging instructions to homepage.

Added Raspbian to distro's with arduino-mk apt packages.
2014-09-23 18:22:03 +01:00
Simon John
5c50797471 Update Travis-CI scripts to test against Arduino v1.0.6 2014-09-22 22:50:27 +01:00
Sudar
623b55c55c Merge pull request #269 from sej7278/fix-travis
Remove Travis-CI references from all examples

Fix #250
Fix #208
2014-09-22 11:55:24 +05:30
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
Sudar
ee1855c6b1 Merge pull request #268 from peplin/259-move-examples
Move tests back to 'examples', skip non-testable examples when testing.

Fix #259
Fix #260
2014-09-21 12:05:12 +05:30
Christopher Peplin
d092c14d7e Remove old dependencies dir from .gitignore, now stored in /var/tmp. 2014-09-20 16:29:12 -04:00
Christopher Peplin
663626f06d Move scripts inside tests directory.
Fixed https://github.com/sudar/Arduino-Makefile/issues/260
2014-09-20 16:26:39 -04: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
Sudar
6f46722abb Merge pull request #263 from peplin/document-flags-vars
Document CFLAGS, CXXFLAGS, ASFLAGS and CPPFLAGS.
2014-09-10 22:08:45 +05:30
Christopher Peplin
9a297758e1 Document CFLAGS, CXXFLAGS, ASFLAGS and CPPFLAGS.
After understanding the difference between CXXFLAGS and CPPFLAGS, this
is a revised commit for https://github.com/sudar/Arduino-Makefile/pull/257
2014-09-10 11:13:44 -04:00
Sudar
640519d7be Add a note about unit test cases in contributing notes 2014-09-10 15:10:39 +05:30
Sudar
4348fd5660 Add the built status button 2014-09-10 11:18:29 +05:30
Sudar
35ed0dd3af Rearrange items in changelog 2014-09-10 11:07:34 +05:30
Sudar
80fd656fce Add note about test suite in changelog 2014-09-10 11:05:35 +05:30