aboutsummaryrefslogtreecommitdiff
path: root/Arduino.mk
AgeCommit message (Collapse)Author
2014-08-29Added *.cpp to extensions supported by "make generate_assembly"Simon John
2014-08-29Allow libraries/sketches to have the same name as system libs,Simon John
e.g. main or Wire Doesn't seem to work with main.cpp but main.ino works. Fixes issue #229 and #244
2014-08-17Fix regex for "make show_boards" on 1.5Simon John
In 1.5.6 the Due board has an underscore, this regex tweak allows for: arduino_due_x_dbg Arduino Due (Programming Port) arduino_due_x Arduino Due (Native USB Port)
2014-08-16allows "make clean" to be extended in the user's local makefile to cleanSimon John
other files out, e.g. backup/git files
2014-08-13add CFLAGS_STD and CXXFLAGS_STD defaultsladislas
2014-08-13Revert "Using CFLAGS_STD and CPPFLAGS_STD"Sudar
2014-08-12create CPPFLAGS_STD and make both CFLAGS_STD and CPPFLAGS_STD avalaible for ↵ladislas
CFLAGS and CXXFLAGS
2014-08-01Fix CFLAGS vs CXXFLAGS typoSimon John
2014-07-15Remove "./" in "make clean" to clean any OBJDIR & change "tinyladi" to ↵ladislas
"ladislas" in HISTORY.md
2014-07-12Made all the changes into one commit that could be a patch for masterSimon John
2014-07-12Bump up version to v1.3.4 for release1.3.4Sudar
2014-06-30Build core objects in subdirectory, fixes issue #82Simon John
2014-06-29Added quotes around greps/cats to help alleviate possible problemsSimon John
with spaces in directory/file-names. Removed $TARGETS as it was an unsafe wildcard and was only used in "make clean" which itself has been simplified to just delete the $OBJDIR rather than waste time deleting individual files.
2014-06-21Really fix $MONITOR_PORT detectionSimon John
Fixes issue #215
2014-06-15Fixed $MONITOR_PORT detection, thanks choffmannSimon John
2014-06-10Make Arduino.mk compatible with FlymakeRonan Barzic
If Flymake is configured to parse .ino files the same way as for c/c++ files, it creates a temporary file (_flymake.ino) in the same directory as the original file. It fails with the current Arduino.mk because of the check for multiple .ino files. This fix removes the check only when flymake is calling the Makefile (Flymake will call make with the variable CHK_SOURCES set to the temporary file name) To make Flymake working with .ino file : Add : check-syntax: $(CXX_NAME) -c -include Arduino.h -x c++ $(CXXFLAGS) $(CPPFLAGS) -fsyntax-only $(CHK_SOURCES) in the project Makefile after the inclusion of the Arduino.mk file Edit the flymake configuration : M-x customize-option RET flymake-allowed-file-name-masks RET (using auto completion !) Add the line : ("\\.ino\\'" flymake-simple-make-init) Then click on "Apply and Save" button Fix #211
2014-05-27Add missing newlines at end of some echo's (issue #207)Simon John
Whilst doing that, i noticed that there were some missing targets to "make help" so added those in and re-ordered and re-worded some of the targets to make more sense e.g. all of the upload's are together, all of the assemblers are together etc.
2014-05-23Fixed alpha sort on those crazy Macs ;-)Simon John
2014-05-22"make show_boards" now lists the board name as well as board tag.Simon John
also is alphabetically sorted by tag now. Fixes #204
2014-05-21Some language clean upSimon John
2014-05-20Check that on windows ARDUINO_DIR (and MPIDE_DIR) is a relative path.Simon John
Checks for paths starting with / e.g. /cydrive/arduino or a drive letter e.g. C:\Program Files\Arduino Fix #201 Fix #202
2014-05-03If no port is specified, try to guess it from wildcardsChris Patuzzo
Fix #197
2014-04-25Add support for assembler code in librarieshrobeers
Fix #195
2014-04-14Allow spaces in "Serial.begin (....)"Pierre DAVID
Fix #190 Fix #191
2014-04-13Bump up version to v1.3.3 for release1.3.3Simon John
Fix #189
2014-04-11Tweak AVRdude conf file detection in windowsEAGMnor
On windows the AVRdude configuration file is now detected properly. The comments and `README` are updated as well. Fix #187
2014-03-20Add phony target to run pre-build hook scriptJulien Ridoux
Fix #176
2014-03-14Fix: Consider usb... to be a valid ISP_PORTGeoff Holden
AVRDUDE requires -P usb to be passed as an argument for some ISP devices, and it is also required in the case where you have multiple usbtiny or usbasp devices connected at once to select a specific one. Fix #167
2014-02-15Add -D__PROG_TYPES_COMPAT__ to the avr-g++ compiler flagsSimon John
This results in just a deprecated warning rather than an error when using libraries (e.g. jeelib) that still use prog_XXX types This is how the IDE does it, and means that libraries don't have to add the #define __PROG_TYPES_COMPAT__ line Reference: http://www.nongnu.org/avr-libc/user-manual/group__avr__pgmspace.html Fix #169
2014-02-08Add "gpio" to the list of isp's that don't have a portSimon John
The gpio programmer type is used on the raspberry pi to upload using the gpio spi pins via a sysfs interface, with a modified avrdude Fix #165 Fix #166
2014-02-05now includes avr-libc/*.c files malloc.c and realloc.cSimon John
if bug-reporter confirms this fixes issue #163 then should be ok to merge.
2014-02-04Bump up version to 1.3.1 for release1.3.1Sudar
2014-02-04Add a new target `help_vars`Sudar
This target can display all variables that can be overridden
2014-02-04Document all the variables that can be overridden in child makefileSudar
Huge thanks to @sej7278 for doing this Fix #75
2014-02-01BUNDLED_AVR_TOOLS_DIR is now set correctly using := instead of ?=,Simon John
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-01-29Bump up version to v1.3.0 for release1.3.0Sudar
2014-01-28Merge pull request #159 from peplin/simpler-crossplatform-pathsSudar
Override complete compiler tool paths for chipKIT.
2014-01-28Merge pull request #158 from peplin/silent-whichSudar
Silence the stderr output from call to `which`.
2014-01-28Use more reliable serial device naming in Windows.Christopher Peplin
* 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-28Silence the stderr output from call to `which`.Christopher Peplin
2014-01-28Override complete compiler tool paths for chipKIT.Christopher Peplin
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-14Simplify package vs git checkout detectionSimon John
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-14Move files out of `arduino-mk` subdirectorySimon John
fix #152