Commit graph

504 commits

Author SHA1 Message Date
Sudar
afdb27656b Merge pull request #158 from peplin/silent-which
Silence the stderr output from call to `which`.
2014-01-28 21:21:15 -08:00
Sudar
993cb0b8d4 Merge pull request #157 from peplin/no-hardcoded-port-in-examples
Don't hard code MONITOR_PORT in examples, for more flexible testing.
2014-01-28 21:20:36 -08:00
Sudar
418109c11b Document that ARDUINO_DIR must be a relative path in Windows
Fix #156
2014-01-29 10:44:12 +05:30
Sudar
9463195834 Merge pull request #155 from peplin/monitor-port-check
Use more reliable serial device naming in Windows.
2014-01-28 20:58:45 -08:00
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
Christopher Peplin
e50caad1e9 Don't hard code MONITOR_PORT in examples, for more flexible testing. 2014-01-28 09:44:33 -05:00
Christopher Peplin
d3a8fcac00 Silence the stderr output from call to which. 2014-01-28 09:44:08 -05:00
Christopher Peplin
067afbb8e4 Override complete compiler tool paths for chipKIT.
Previously we were setting the AVR tools path to the PIC32 tools path because it
made grabbing the compiling tools easier. Consequently, it made finding the
avrdude path much harder, especially since the avrdude files are in different
locations in the Linux distributions of MPIDE and Arduino.

Instead, we set the AVR tools path to the *correct* path (where *AVR* dude
lives), and totally override the CC, CXX, etc. paths to point to their PIC32
equivalents.
2014-01-28 09:43:33 -05:00
Sudar
ac0b7d46c3 Freezing up code for v1.2.0 release 2014-01-14 14:38:44 +05:30
Sudar
ce9c54848f Remove arduino-mk folder from all examples
Fix #154
2014-01-14 14:36:24 +05:30
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
Simon John
fa6b9215c8 Move files out of arduino-mk subdirectory
fix #152
2014-01-14 14:23:25 +05:30
Sudar
320fec7981 Add information about package folder to changelog 2014-01-14 14:23:00 +05:30
Sudar
c2aacb9487 Merge pull request #146 from sej7278/master
Debian package rebuild instructions.
2014-01-04 20:58:17 -08:00
Simon John
cec6553cf9 Added some more build dependencies to ensure everything needed to build is
installed.
2014-01-05 01:19:23 +00:00
Simon John
277a98b2c8 Debian package rebuild instructions.
Shows a user how to make their own Debian packages from Git. Also has
instructions for getting official upstream builds for their distro.
2014-01-05 00:45:02 +00:00
Sudar
d3af7ca19d Merge pull request #145 from sej7278/master
Added package directory with RPM SPECfile (and instructions!)
2014-01-01 05:19:27 -08:00
Simon John
4e2b945dd1 Changed documentation to use new path, also added dependency info.
Tested on Fedora 20 - help2man still a bit iffy
2013-12-30 20:07:22 +00:00
Simon John
371377e0ac moved to better directory layout 2013-12-30 19:36:42 +00:00
Simon John
9ad2c858ce Added package directory with RPM SPECfile (and instructions!)
Linked to issue #144

Tested on Fedora 18, works fine except the ard-reset-arduino manpage displays
[1m and [0m around some headings, might be a bug in help2man 1.41.2 as it
works fine on Debian with 1.43.3, will try CentOS/OEL 6.5 next.

I didn't update the changelog as I didn't know what the new development
version is going to be.
2013-12-30 16:07:36 +00:00
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
7af27ae494 Use ARDUINO_HEADER variable instead of hardcoded file names
Fix #131
2013-12-26 16:00:08 +05:30
Sudar
a51754c2b2 Merge pull request #143 from mahoy/master
Allow target specific optimization levels/debug flags
2013-12-20 08:40:58 -08:00
mahoy
d3e7eedd5f Allow target specific optimization levels/debug flags
Changing the optimization level from -Os to something else breaks the
SoftwareSerial library. This patch allow optimization flags to be set on a
per target basis.
2013-12-20 17:25:18 +01:00
Sudar
e721a249cd Add CONTRIBUTING.md explaining how to contribute to this project 2013-12-17 17:28:59 +05:30
Sudar
672d6f40cf Update changelog about the last pull request #142 2013-12-17 15:38:26 +05:30
Sudar
67b5d06cc8 Merge pull request #142 from sej7278/master
User-defined or calculated bootloader parent directory
2013-12-17 01:50:40 -08:00
Simon John
fc92c24cc0 User-defined or calculated bootloader parent directory, allows for
relative paths as defined in boards.txt  e.g. "atmega"

Also added [USER] to ARDUINO_SKETCHBOOK detection

Fixes #126
2013-12-17 09:15:33 +00:00
Sudar
38255ed0f0 Update changelog about usbtiny fix 2013-12-16 23:36:50 +05:30
Sudar
1ad771fea9 Merge pull request #140 from PPvG/master
Don't append port details to avrdude for usbtiny
2013-12-16 10:03:29 -08:00
Simon John
7ea19ce322 Add option to set fuses without burning a bootloader
When using ICSP programmers e.g. usbasp, you can burn sketches directly
to the chip without having to burn a bootloader, however you do need to
set fuses e.g. if you're changing speed/BOD.

Updated help text to include "make set_fuses" and also changed
"make burn_bootloader" help text which wasn't entirely accurate.

Fix #141
2013-12-16 23:14:32 +05:30
Peter-Paul van Gemerden
5dc5cf2257 Don't append port details to avrdude for usbtiny
Fix 138
2013-12-13 10:19:29 +01:00
Sudar
25a00d73b7 Merge pull request #137 from peplin/chipkit-avrdude-mac
Adjust path to avrdude/avrdude.conf for MPIDE in Linux.
2013-12-09 05:47:19 -08:00
Christopher Peplin
bc03025596 Adjust path to avrdude/avrdude.conf for MPIDE in Linux. 2013-12-08 15:07:36 -05:00
anthony cantor
24128a1819 Use MAKEFILE_LIST to get the name of the make file
This way we don't assume the make file is 'Makefile' and it will
work even if it is named as 'makefile' or 'makefile-uno'

Fix #130
2013-12-05 12:25:53 +05:30
Ladislas
e04bb4d7d4 Auto detect and include libraries specified in USER_LIB_PATH
Fix #135
2013-12-05 12:12:15 +05:30
Sudar
7bacc727a8 Update HISTORY.md about ChipKIT 2013 support 2013-12-05 11:51:03 +05:30
Christopher Peplin
ef521d284a Include assembly vector table in chipKIT build.
* Added build step for assembly files in CORE
* Removed duplicate flags from AS build step
2013-12-03 11:24:19 -05:00
Christopher Peplin
58f1cb249c Add common linker script for MPIDE version 0023-*-20130817-test. 2013-12-03 10:27:44 -05:00
Thomas Sigurdsen
d32d612a4b Change echo for printf
rationale:
http://unix.stackexchange.com/questions/65803/why-is-printf-better-than-echo

fix #129
2013-11-27 17:07:47 +05:30
Sudar
51f1271b32 Show correct path to arduino.mk file in help message
Fix #120
2013-10-06 19:20:52 +05:30
Sudar
4fb3e089bb Add burn_bootloader target
Code to burn fuses is moved from ispload target to this new target, so
that fuses are burned only once when needed.

Fix #85
2013-10-06 19:14:50 +05:30
Sudar
7961a86286 In ISP mode, read baudrate and programmer from boards.txt
Arduino IDE also reads this from boards.txt file

Fix #125
2013-10-06 18:14:58 +05:30
Sudar
a17cf2af96 Ignore commented lines while parsing boards.txt file
Fix #124
2013-10-06 18:13:32 +05:30
Sudar
9ff2b2e4d6 Don't append port details to avrdude for usbasp
When usbasp is used as programmer, there is no need to specify the port
to avrdude.

Fix #123
2013-10-06 17:43:03 +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
85d2d2ec6e Fix whitespace and line spacing
No change in functionality
2013-09-25 15:21:21 +05:30
Sudar
0f68487501 Unconditionally add -D in avrdude options.
This is needed in Mega boards, because of a bug in Mega bootloader. See
https://github.com/sudar/Arduino-Makefile/issues/114#issuecomment-25011005
for detailed explanation.

Fix #114
2013-09-25 15:18:14 +05:30