| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2013-05-30 | Let the Makefile decide which include to use for .pde files | Matthijs Kooijman | |
| Previously, the C preprocessor would pick either Arduino.h or WProgram.h based on a define. Now, the Makefile makes the decision earlier. This prevents having to duplicate the #if line in the next commit. | |||
| 2013-05-30 | Don't try to read version.txt when it does not exist | Matthijs Kooijman | |
| This can happen for example when the arduino directory is a checkout from git instead of a released version. Before, cat would show an error which is now prevented. The version still defaults to 100 just like before. | |||
| 2013-05-30 | Output configuration info only once | Matthijs Kooijman | |
| Before, the configuration info would be shown again when running a recursive make call, or when make restarted after regenerating the dependencies file. Now, it only shows the info the first time. Closes: #46 | |||
| 2013-05-30 | Fix raw_upload and reset for normal uploads | Matthijs Kooijman | |
| In commit 90e3c9ad (Fix upload in case of parallelized make), some dependencies were shuffled to (I assume) prevent the reset from happening before or at the same time as the upload when running a parallel make. However, this introduced two problems: - The upload and raw_upload became effectively the same, and both of them did a reset (even though raw_upload should do the upload without a reset). - The reset target does not depend on $(TARGET_HEX) or verify_size, so in a parallel make the reset is executed before / at the same time as the actual compilation (since the reset doesn't seem to be needed for at least the Arduino Uno, apparently avrdude handles this, this probably wasn't noticed by anyone). Because we can't force a specific ordering of dependencies in parallel make and because adding dependencies to the reset target doesn't seem appropriate (you should be able to do a "make reset" without needing to compile everything first), this commit changes the uploading to call $(MAKE) again to do the actual upload. The current approach ensures that: - raw_upload does a compile, size check and upload and upload does the same plus a reset. - A reset is not done if the compilation fails or the size check fails. - verify_size is called only once. | |||
| 2013-05-30 | Check that there is exactly one .pde or .ino file | Matthijs Kooijman | |
| When there are none (and no .cpp files either), the build would stall trying to cat all the .d files together (which would result in cat getting no arguments and thus waiting for input on stdin). When there are multiple .ino and/or .pde files, the build could technically work out, the Arduino IDE concatenates all .ino / .pde files together and compiles them as a single compile unit, so unless we implement that as well, it's better to just error out. | |||
| 2013-05-30 | Let MONITOR_BAUDRATE detection also look in .pde files | Matthijs Kooijman | |
| Before, it would only look in .ino files. If you had no .ino file but only a .pde file, this would cause the build to hang, since grep would be waiting for input on its stdin. | |||
| 2013-05-30 | When detecting MONITOR_BAUDRATE, use $(LOCAL_INO_SRCS) | Matthijs Kooijman | |
| Now that this detection code is moved down a bit, it can use the same .ino list as all the other code. | |||
| 2013-05-30 | Move MONITOR_BAUDRATE detection further down | Matthijs Kooijman | |
| No changes are made to the code, it is only moved. This allows it to use LOCAL_INO_SRCS and LOCAL_INO_PDE_SRCS in the next commit. | |||
| 2013-02-10 | Added ifndef ARDUINO_VAR_PATH for compiling for the attiny | Daniel Esteban Nombela | |
| 2013-01-31 | Allow adding extra common dependencies | gabriel | |
| 2013-01-03 | Fixed the automatic baudrate detection script that was broken if the line ↵ | Sudar | |
| already had the tab character | |||
| 2012-12-23 | Auto detect sketchbook location even in MAC | Sudar | |
| 2012-12-16 | merge changes from https://github.com/sudar | gabriel | |
| 2012-12-15 | Merged changes from https://github.com/alohr | Sudar | |
| 2012-12-15 | Enabled warnings | Sudar | |
| 2012-12-15 | Show original line number for error messages | Adam Dunlap | |
| 2012-12-15 | Added verify_size action | Sudar | |
| 2012-12-15 | Merged all changes from rpavlik | Sudar | |
| 2012-12-15 | Merged all commits from upstream | Sudar | |
| 2012-12-14 | make build dir (OBJDIR) changeable | gabriel | |
| 2012-11-17 | add eeprom upload support | gabriel | |
| 2012-11-12 | Added dummy file to verify_size to avoid always being run. | Fabio Pugliese Ornellas | |
| 2012-11-12 | Added sketch size verification. | Fabio Pugliese Ornellas | |
| 2012-11-06 | removing -w from CPPFLAGS (warnings can be usefull) | gabriel | |
| 2012-11-02 | Fix upload in case of parallelized make. | Jan Gosmann | |
| 2012-11-01 | Make the makefile error if the arduino port is not present. | Ryan Pavlik | |
| 2012-11-01 | Make everybody depend on the makefile, in case cflags are changed, etc. | Ryan Pavlik | |
| 2012-11-01 | Be able to silence configuration output | Ryan Pavlik | |
| 2012-11-01 | Fixing problem of hanging upload. | Jan Gosmann | |
| 2012-10-07 | set USB_VID and USB_PID only for leonardo boards | Andreas Lohr | |
| 2012-09-20 | Provide symbol_sizes and generated_assembly targets. | Ryan Pavlik | |
| Also update existing auxiliary targets with help, and make the .PHONY list complete and in order. | |||
| 2012-09-20 | Change .sym output | Ryan Pavlik | |
| 2012-09-20 | Make disasm more helpful | Ryan Pavlik | |
| 2012-09-20 | Use variables instead of hardcoded commands | Ryan Pavlik | |
| 2012-09-20 | Add knowledge of device-specific assembler | Ryan Pavlik | |
| 2012-09-17 | Added changelogrelease-0.10 | Martin Oldfield | |
| 2012-09-17 | Added support for the USB PID/VID needed for the Leonardo, as per patches ↵ | Martin Oldfield | |
| from Dan Villiom Podlaski Christiansen and Marc Plano-Lesay | |||
| 2012-09-17 | Only set AVRDUDE_CONF if it's not set, as per Tom Hall's patch | Martin Oldfield | |
| 2012-09-17 | Only set OBJDIR if it is not already set; if we do set it make it $BOARD_TAG ↵ | Martin Oldfield | |
| dependent. This follows comments from Matthias Urlichs and Scott Howard | |||
| 2012-09-17 | Fixed ARDUNIO/ARDUINO typo in README.md as per Kalin Kozhuharov's comment | Martin Oldfield | |
| 2012-09-17 | Made the size target look at the ELF file, not the hex, as per Jared ↵ | Martin Oldfield | |
| Szechy's patch. Craig Leres made a similar comment | |||
| 2012-08-27 | Making other *FLAGS += rather than = | Adam Dunlap | |
| 2012-08-23 | Make listing files more useful | Ryan Pavlik | |
| 2012-08-23 | Allow passing extra flags | Ryan Pavlik | |
| 2012-08-18 | detabbed changelog, and appended my contributions | jeffkowalski | |
| 2012-08-18 | Libraries may also contain subdirectory called "utility", containing | jeffkowalski | |
| header files to be included and source files to be built. Modified SYS_LIBS and USER_LIBS to accomodate those directories if they exist. | |||
| 2012-08-18 | Added autodetection of ARDMK_DIR | jeffkowalski | |
| 2012-08-18 | Added autodetection of ARDUINO_SKETCHBOOK, by looking to match IDE's | jeffkowalski | |
| setting in $(HOME)/.arduino/preferences.txt before setting default of $(HOME)/sketchbook. | |||
| 2012-08-18 | added auto-detection of ARDUINO_LIBS referenced in LOCAL_SRCS | jeffkowalski | |
| 2012-07-15 | Automatically read the BAUDRATE from sketch. Works only in linux for now | Sudar | |
