Commit graph

667 commits

Author SHA1 Message Date
Simon John
920c74024e now includes avr-libc/*.c files malloc.c and realloc.c
if bug-reporter confirms this fixes issue #163 then should be ok to merge.
2014-02-05 23:31:12 +00:00
Sudar
5d5704ff97 Merge pull request #162 from sej7278/master
Add arduino-mk-vars.md to the RPM SPECfile.
2014-02-04 18:59:53 -08:00
Simon John
5a521361a0 Added the arduino-mk-vars.md file to the Fedora SPECfile.
Added some notes to the SPECfile regarding overriding the paths
to the avr tools - most are in /usr/bin, but gcc/g++ are in an
architecture-dependant ccache directory

Upped version to 1.3.2 devel
2014-02-04 17:41:51 +00:00
Sudar
e48ae82fbd Bump up version to 1.3.1 for release 2014-02-04 18:29:18 +05:30
Sudar
cff1dec365 Add a new target help_vars
This target can display all variables that can be overridden
2014-02-04 18:27:46 +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
Sudar
9a49615e07 Merge pull request #161 from sej7278/master
BUNDLED_AVR_TOOLS_DIR is now set correctly
2014-02-02 06:06:32 -08:00
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
f549f9c401 Fix some typos and errors in changelog 2014-01-29 11:38:05 +05:30
Sudar
0526855340 Update README.md about compatibility with Windows
Fix #94
2014-01-29 11:32:16 +05:30
Sudar
967d47c7bd Update changelog about the recent changes 2014-01-29 10:58:25 +05:30
Sudar
33813e09d8 Merge pull request #159 from peplin/simpler-crossplatform-paths
Override complete compiler tool paths for chipKIT.
2014-01-28 21:21:57 -08:00
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