aboutsummaryrefslogtreecommitdiff
path: root/arduino-mk
AgeCommit message (Collapse)Author
2014-01-14Move files out of `arduino-mk` subdirectorySimon John
fix #152
2013-12-26Bump up version number to v1.1.0 for release1.1.0Sudar
2013-12-26Use `ARDUINO_HEADER` variable instead of hardcoded file namesSudar
Fix #131
2013-12-20Allow target specific optimization levels/debug flagsmahoy
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-17User-defined or calculated bootloader parent directory, allows forSimon John
relative paths as defined in boards.txt e.g. "atmega" Also added [USER] to ARDUINO_SKETCHBOOK detection Fixes #126
2013-12-16Merge pull request #140 from PPvG/masterSudar
Don't append port details to avrdude for usbtiny
2013-12-16Add option to set fuses without burning a bootloaderSimon John
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-13Don't append port details to avrdude for usbtinyPeter-Paul van Gemerden
Fix 138
2013-12-08Adjust path to avrdude/avrdude.conf for MPIDE in Linux.Christopher Peplin
2013-12-05Use MAKEFILE_LIST to get the name of the make fileanthony cantor
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-05Auto detect and include libraries specified in `USER_LIB_PATH`Ladislas
Fix #135
2013-12-03Include assembly vector table in chipKIT build.Christopher Peplin
* Added build step for assembly files in CORE * Removed duplicate flags from AS build step
2013-12-03Add common linker script for MPIDE version 0023-*-20130817-test.Christopher Peplin
2013-11-27Change echo for printfThomas Sigurdsen
rationale: http://unix.stackexchange.com/questions/65803/why-is-printf-better-than-echo fix #129
2013-10-06Show correct path to `arduino.mk` file in help messageSudar
Fix #120
2013-10-06Add `burn_bootloader` targetSudar
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-06In ISP mode, read baudrate and programmer from boards.txtSudar
Arduino IDE also reads this from boards.txt file Fix #125
2013-10-06Ignore commented lines while parsing boards.txt fileSudar
Fix #124
2013-10-06Don't append port details to avrdude for usbaspSudar
When usbasp is used as programmer, there is no need to specify the port to avrdude. Fix #123
2013-09-25Bump up version to v1.0.1 for release1.0.1Sudar
This is just a minor bug fix release
2013-09-25Unconditionally add `-D` in avrdude options.Sudar
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-22Bump up version to v1.0.0 for release1.0.0Sudar
2013-09-19Revert "Make all executables overridable"Sudar
If these executables are not overridden in the child makefile, then the default values are not set properly in the master makefile. This complicates the solution for #119 :( This reverts commit 66eec82a3af8ee5aa16e28230346e4a1f166da2b.
2013-09-18Make all executables overridableSudar
This is helpful for #119 which will add support for colorgcc
2013-09-18Remove redundant list of targetsSudar
After #118, we have a separate target (help) to list all available targets. Having this list in a single place is better, since we don't have to make changes in multiple places when things change.
2013-09-18Whitespace and formatting fixSudar
No code or functionality change
2013-09-15Added help target showing a summary of all the available targetsxPaolo D'Apice
2013-08-18Added detailed instructions for using alternative coresSimon John
Should close Issue #60
2013-08-09Allow building with Arduino core, without a .ino/.pde fileSudar
Till not it is not possible to build with Arduino core, without using a .ino or .pde file. This commit removes that restriction. However, the user has to explicitly include Arduino header files. Fix #105
2013-08-09Autodetect baudrate only if either a .ino/.pde is presentSudar
Because of the way the autodetect code works, if no .ino/.pde file is present, then the makefile hangs
2013-07-27Merge pull request #112 from openxc/silent-mkdirSudar
Silence output from the many mkdir calls.
2013-07-28Update instructions about ARDMK_DIR and ARDMK_PATHSudar
Both `ARDMK_DIR` and `ARDMK_PATH` needs to be set differently based on whether the makefile is installed through a package or git checkout. Refer to #111 to find out why it is needed.
2013-07-28Print config info about ARDMK_DIR after Common.mk file is includedSudar
The show_config_variable macro is available in Common.mk file. So invoke it for ARDMK_DIR only after Common.mk file is included. Fix #111
2013-07-28Remove duplicate definition of `show_config_variable` macroSudar
In 5ed507cf43e048f0a6a527c97ea6ed2e8cdb451f as part of #98, [`show_config_variable` was duplicated in Arduino.mk file](https://github.com/sudar/Arduino-Makefile/pull/98#commitcomment-3561542) But it was later found that `ARDMK_DIR` is still not getting printed (issue #111). This commit therefore removes the duplicated macro definition.
2013-07-28Remove unnecessary checks for `ARDMK_DIR`Sudar
If `ARDMK_DIR` is not defined, then it is assumed to be the directory where `Arduino.mk` or `chipKIT.mk` is present. Since this assumption is made, `ARDMK_DIR` will always be set, whether the user has explicitly set it or not. Therefore checking whether `ARDMK_DIR` is not set is unnecessary. This commit removes these unnecessary checks.
2013-07-12Silence output from the many mkdir calls.Christopher Peplin
2013-07-12Make `ARDMK_PATH` and `ARDMK_DIR` backward compatibleSudar
When support for ChipKit was added recently (issue #98) it broke the way ARDMK_PATH and ARDMK_DIR were handled, if the package was installed through package. It was only working if you have done a git checkout. This commit fixes it, but searching for `Common.mk` both in `ARDMK_DIR/arduino-mk` and `ARDMK_DIR/` directories. Fix #110
2013-07-11Merge pull request #106 from openxc/build-in-subdirsSudar
Allow objects to be in arbitrary subdirectories.
2013-07-10Merge branch 'serial-port-variable-name' of ↵Sudar
git://github.com/openxc/Arduino-Makefile into openxc-serial-port-variable-name
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-09Merge pull request #107 from openxc/chipkit-avrdudeSudar
Fix path to avrdude for chipKIT's MPIDE installation.
2013-07-09Merge pull request #108 from openxc/no-preferences-requiredSudar
Don't require an IDE preferences file, fallback to default sketchbook.
2013-07-09Don't require an IDE preferences file, fallback to default sketchbook.Christopher Peplin
It should be possible to use the Makefile without ever running the Arduino or chipKIT IDE. This change only looks for the preferences file if the sketchbook path is not defined, and even then, will use the default skethbook path if the preferences file is unavailable.
2013-07-09Fix path to avrdude for chipKIT's MPIDE installation.Christopher Peplin
2013-07-09Update a call to PARSE_BOARD to Makefile-style in chipKIT file.Christopher Peplin
2013-07-09Allow objects to be in arbitrary subdirectories.Christopher Peplin
2013-07-09Remove Perl YAML dependency from documentation.Christopher Peplin
YAML is no longer necessary in Perl since ard-parse-boards was implemented in the Makefile itself.
2013-07-09Replace Leonardo detection with Caterina detectionSudar
Checks bootloader.path for "caterina", instead of checking only for leonardo Fix #96 Fix #97 Fix #102
2013-07-09Compile with debugging symbols only when DEBUG=1.Christopher Peplin
Fix #101
2013-07-09Implement ard-parse-boards with shell scripting instead of Perl.Christopher Peplin
Working towards dropping the dependency on Perl (which very few Windows users have), this commit implements the required functionality from ard-parse-boards in a few shell commands from within the Makefile. Fix #100