Skip to content

Latest commit

 

History

History
299 lines (261 loc) · 19.6 KB

HISTORY.md

File metadata and controls

299 lines (261 loc) · 19.6 KB

A Makefile for Arduino Sketches

The following is the rough list of changes that went into different versions. I tried to give credit whenever possible. If I have missed anyone, kindly add it to the list.

In Development

1.5 (2015-04-07)

1.3.4 (2014-07-12)

1.3.3 (2014-04-12)

1.3.2 (2014-04-11)

1.3.1 (2014-02-04)

  • Fix: BUNDLED_AVR_TOOLS_DIR is now set properly when using only arduino-core and not the whole arduino package. (https://github.com/sej7278)
  • New: Document all variables that can be overridden. (https://github.com/sej7278)
  • New: Add a new help_vars target to display information about variables that can be overridden.

1.3.0 (2014-01-29)

1.2.0 (2014-01-14)

1.1.0 (2013-12-26)

  • Don't append port details to avrdude for usbasp. See #123
  • Ignore commented lines while parsing boards.txt file. See #124
  • In ISP mode, read baudrate and programmer from boards.txt. See #125
  • Add burn_bootloader target. See #85
  • Show correct path to arduino.mk file in help message. Fix #120
  • Change echo for printf. Fix #129 (https://github.com/thomassigurdsen)
  • Add support for ChipKiT 2013. Fix #136 (https://github.com/peplin)
  • Auto detect and include libraries specified in USER_LIB_PATH. Fix #135 (https://github.com/ladislas)
  • Use MAKEFILE_LIST to get the name of the make file. Fix #130 (https://github.com/cantora)
  • New: Add option to set fuses without burning a bootloader. Fix #141 (https://github.com/sej7278)
  • Tweak: Don't append port details to avrdude for usbtiny. Fix #140 and #138 (https://github.com/PPvG)
  • Fix: Handle relative paths of bootloader file while burning bootloaders. Fix #126 and #142 (https://github.com/sej7278)
  • New: Add CONTRIBUTING.md explaining how to contribute to the project.
  • New: Force -Os optimization for SoftwareSerial. Add OPTIMIZATION_FLAGS and DEBUG_FLAGS. (https://github.com/mahoy)
  • Fix: Use ARDUINO_HEADER variable instead of hardcoded file names. Fix #131

1.0.1 (2013-09-25)

  • Unconditionally add -D in avrdude options. See #114

1.0.0 (2013-09-22)

  • Add $OBJDIR to the list of configuration that gets printed. Fix issue #77
  • Add support for specifying optimization level. Fix issue #81
  • Add support for reseting "Micro" Arduino. Fix issue #80 (https://github.com/sej7278)
  • Remove "utility" from example makefiles. Fix issue #84
  • Auto detect alternate core path from sketchbook folder. Fix issue #86
  • Remove redundant checks for ARDUINO_DIR
  • Improve avrdude and avrdude.conf path auto detection. Fix issue #48
  • Move binary sketch size verification logic inside makefile. Fix issue #54
  • Remove dependency on wait-connection-leonardo shell script. Fix issue #95
  • Add support for the Digilent chipKIT platform. (https://github.com/peplin)
  • Implement ard-parse-boards with shell scripting instead of Perl (https://github.com/peplin)
  • Compile with debugging symbols only when DEBUG=1 (https://github.com/peplin)
  • Replace Leonardo detection with Caterina detection (https://github.com/sej7278)
  • Autodetect baudrate only if either a .ino/.pde is present
  • Allow building with Arduino core, without a .ino/.pde file
  • Ability to support different Arduino cores (https://github.com/sej7278)

0.12.0 (2013-06-20)

  • Fix "generated_assembly" target, which got broken earlier. Fix issue #76 (https://github.com/matthijskooijman)
  • Deprecate "generated_assembly" target in favour of "generate_assembly". Fix issue #79

0.11.0 (2013-06-15)

  • Replace hardcoded executables with variable
  • Fix whitespace issues
  • Add a warning when HEX_MAXIMUM_SIZE is not specified
  • Add the ability to configure avrdude options. Fix issue #53
  • Handle cases where certain fuse bits are not present. Fix issue #61
  • Add support for compiling plain AVR C files. Fix issue #63
  • Add an example to show how to compile AVR C files. Fix issue #73

0.10.6 (2013-06-14)

0.10.5 (2013-06-11)

0.10.4 (2013-05-31) @matthijskooijman

  • Improved BAUD_RATE detection logic
  • Added logic to check if there is only .ino or .pde file
  • Compile .ino/.pde files directly
  • Output configuration only once
  • Try to read Version.txt file only if it is present
  • Refactored dependency code

0.10.3 16.xii 2012 gaftech

  • Enabling creation of EEPROM file (.eep)
  • EEPROM upload: eeprom and raw_eeprom targets
  • Auto EEPROM upload with isp mode: ISP_EEPROM option.
  • Allow custom OBJDIR

0.10.2 15.xii.2012 Sudar

0.10.1 15.xii.2012 Sudar

  • Merged all changes from Upstream and the following changes from https://github.com/rpavlik
  • Allow passing extra flags
  • Make listing files more useful
  • Add knowledge of device-specific assembler
  • Use variables instead of hardcoded commands
  • Make disasm more helpful
  • Change .sym output
  • Provide symbol_sizes and generated_assembly targets.
  • Be able to silence configuration output
  • Make everybody depend on the makefile, in case cflags are changed, etc.
  • Make the makefile error if the arduino port is not present.

0.10 17.ix.12 M J Oldfield

  • Added installation notes for Fedora (ex Rickard Lindberg).
  • Changed size target so that it looks at the ELF object, not the hexfile (ex Jared Szechy and Scott Howard).
  • Fixed ARDUNIO typo in README.md (ex Kalin Kozhuharov).
  • Tweaked OBJDIR handling (ex Matthias Urlichs and Scott Howard).
  • Changed the name of the Debian/Ubuntu package (ex Scott Howard).
  • Only set AVRDUDE_CONF if it's not set (ex Tom Hall).
  • Added support for USB_PID/VID used by the Leonardo (ex Dan Villiom Podlaski Christiansen and Marc Plano-Lesay).

0.9.3.2 10.ix.2012 Sudar

  • Fixed a typo in README. Issue reported at upstream (sudar#21)

0.9.3.1 18.viii.2012 jeffkowalski

  • Autodetect ARDUINO_LIBS from includes in LOCAL_SRCS
  • Autodetect ARDUINO_SKETCHBOOK from file set by Arduino IDE
  • Autodetect ARDMK_DIR based on location of this file
  • Added support for utility directory within SYS and USER libraries

0.9.3 13.vi.2012

0.9.2 06.vi.2012

0.9.1 06.vi.2012

  • Corrected the ubuntu package names
  • Prevent the file-not-found error if the depends.mk file is not needed
  • Delete the build-cli folder as well while doing make clean
  • Added support for compiling .pde files in Arduino 1.0 environment
  • Replaced = with += in CPPFLAGS assignment so that we can set CPPFLAGS per sketch if needed
  • Changed AVRDUDE_CONF so it can be defined in per-project makefile (https://github.com/WizenedEE)
  • Cleaner way to delete the build-cli directory when make clean is invoked
  • The package name in Debian and Ubuntu is arduino-mk (https://github.com/maqifrnswa)

2012-02-12, version 0.8

  • Patches for version 1.0 of the Arduino IDE. Older versions might still work, but I’ve not tested it.
  • A change to the build process: rather than link all the system objects directly into the executable, bundle them in a library first. This should make the final executable smaller.
  • If TARGET isn’t explicitly set, default to the current directory name. Thanks to Daniele Vergini for this patch.
  • Add support for .c files in system libraries: Dirk-Willem van Gulik and Evan Goldenberg both reported this and provided patches in the same spirit.
  • Added a size target as suggested by Alex Satrapa.

Unreleased, version 0.7

  • Added -lm to the linker options, and -F to stty.

2011-06-23, version 0.6

  • Added ard-parse-boards. Mark Sproul suggested doing something like this ages ago, but I’ve only recently looked at it in detail.
  • Fabien Le Lez reported that one needs to link with -lc to avoid linker errors.

2011-06-23, version 0.5

  • Imported changes from Debian/Ubuntu, which incorporate a patch from Stefan Tomanek so that libraries would be compiled too.

Note: Many other people sent me similar patches, but I didn't get around to using them. In the end, I took the patch from Debian and Ubuntu: there seems merit in not forking the code and using a tested version. So, thanks and apologies to Nick Andrew, Leandro Coletto Biazon, Thibaud Chupin, Craig Hollabaugh, Johannes H. Jensen, Fabien Le Lez, Craig Leres, and Mark Sproul.

2010-05-24, version 0.4

Tweaked rules for the reset target on Philip Hands’ advice.

2010-05-21, version 0.3

  • Tidied up the licensing, making it clear that it’s released under LGPL 2.1.
  • Philip Hands sent me some code to reset the Arduino by dropping DTR for 100ms, and I added it.
  • Tweaked the Makefile to handle version 0018 of the Arduino software which now includes main.cpp. Accordingly we don’t need to—and indeed must not—add main.cxx to the .pde sketch file. The paths seem to have changed a bit too.