Moved all version information and change log into HISTORY.md file
This commit is contained in:
parent
4ea3ab7884
commit
d8bac0fb14
3 changed files with 113 additions and 222 deletions
106
HISTORY.md
Normal file
106
HISTORY.md
Normal file
|
@ -0,0 +1,106 @@
|
|||
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.
|
||||
|
||||
### 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
|
||||
- Added sketch size verification. (https://github.com/fornellas)
|
||||
- Show original line number for error messages (https://github.com/WizenedEE)
|
||||
- Removed -w from CPPFLAGS to show warnings (https://github.com/gaftech)
|
||||
- Changed shebang to use /usr/bin/env (https://github.com/anm)
|
||||
- set USB_VID and USB_PID only for leonardo boards(https://github.com/alohr)
|
||||
- Updated Readme (https://github.com/fr0sty1/)
|
||||
|
||||
### 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 (https://github.com/mjoldfield/Arduino-Makefile/issues/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
|
||||
|
||||
- Auto detect ARDUINO_DIR, Arduino version (https://github.com/rpavlik/)
|
||||
- Categorize libs into user and system (https://github.com/rpavlik/)
|
||||
- Dump size at the end of the build (https://github.com/rpavlik/)
|
||||
- Lots and lots of improvements (https://github.com/rpavlik/)
|
||||
- Changed bytes option for the head shell command, so that it works in Mac as well
|
||||
- Auto detect Serial Baud rate from sketch if possible
|
||||
|
||||
### 0.9.2 06.vi.2012
|
||||
|
||||
- Allow user to choose source files (LOCAL_*_SRCS flags) (https://github.com/Gaftech)
|
||||
- Modified "make size" behavior: using --mcu option and targeting .elf file instead of .hex file.(https://github.com/Gaftech)
|
||||
|
||||
### 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](http://forum.arduino.cc/index.php/topic,40215.0.html).
|
||||
|
||||
### 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](http://hands.com/~phil/) 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.
|
||||
|
94
README.md
94
README.md
|
@ -57,100 +57,16 @@ standard location for custom libraries when using the Arduino IDE), you need to
|
|||
set the `ARDUINO_SKETCHBOOK` variable to point to this directory. By default it
|
||||
is set to `$HOME/sketchbook`.
|
||||
|
||||
## Changelog
|
||||
## Versioning
|
||||
|
||||
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.
|
||||
The current version of the makefile is `0.10.3`. You can find the full history in the [HISTORY.md](HISTORY.md) file
|
||||
|
||||
### 0.10.2 15.xii.2012 Sudar
|
||||
- Added sketch size verification. (https://github.com/fornellas)
|
||||
- Show original line number for error messages (https://github.com/WizenedEE)
|
||||
- Removed -w from CPPFLAGS to show warnings (https://github.com/gaftech)
|
||||
- Changed shebang to use /usr/bin/env (https://github.com/anm)
|
||||
- set USB_VID and USB_PID only for leonardo boards(https://github.com/alohr)
|
||||
- Updated Readme (https://github.com/fr0sty1/)
|
||||
This project adheres to Semantic [Versioning 2.0](http://semver.org/).
|
||||
|
||||
### 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
|
||||
- Merged all changes from Upstream
|
||||
|
||||
### 0.9.3.2 10.ix.2012 Sudar
|
||||
- Fixed a typo in README. Issue reported at upstream (https://github.com/mjoldfield/Arduino-Makefile/issues/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
|
||||
|
||||
- Auto detect ARDUINO_DIR, Arduino version (https://github.com/rpavlik/)
|
||||
- Categorize libs into user and system (https://github.com/rpavlik/)
|
||||
- Dump size at the end of the build (https://github.com/rpavlik/)
|
||||
- Lots and lots of improvements (https://github.com/rpavlik/)
|
||||
- Changed bytes option for the head shell command, so that it works in Mac as well
|
||||
- Auto detect Serial Baud rate from sketch if possible
|
||||
|
||||
### 0.9.2 06.vi.2012
|
||||
|
||||
- Allow user to choose source files (LOCAL_*_SRCS flags) (https://github.com/Gaftech)
|
||||
- Modified "make size" behavior: using --mcu option and targeting .elf file instead of .hex file.(https://github.com/Gaftech)
|
||||
|
||||
### 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](http://forum.arduino.cc/index.php/topic,40215.0.html).
|
||||
|
||||
### 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](http://hands.com/~phil/) 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.
|
||||
|
||||
## Know Issues
|
||||
- Because of the way the makefile is structured, the configuration parameters gets printed twice.
|
||||
## Know Issues / TODO's
|
||||
- Doesn't work with Leonardo yet.
|
||||
- More todo's at https://github.com/sudar/Arduino-Makefile/issues/
|
||||
- Because of the way the makefile is structured, the configuration parameters gets printed twice.
|
||||
|
||||
## Similar works
|
||||
- It's not a derivative of this, but Alan Burlison has written a [similar thing](http://bleaklow.com/2010/06/04/a_makefile_for_arduino_sketches.html).
|
||||
|
|
|
@ -19,140 +19,9 @@
|
|||
#
|
||||
# Original Arduino adaptation by mellis, eighthave, oli.keller
|
||||
#
|
||||
# Version 0.1 17.ii.2009 M J Oldfield
|
||||
# Current version: 0.10.3
|
||||
#
|
||||
# 0.2 22.ii.2009 M J Oldfield
|
||||
# - fixes so that the Makefile actually works!
|
||||
# - support for uploading via ISP
|
||||
# - orthogonal choices of using the Arduino for
|
||||
# tools, libraries and uploading
|
||||
#
|
||||
# 0.3 21.v.2010 M J Oldfield
|
||||
# - added proper license statement
|
||||
# - added code from Philip Hands to reset
|
||||
# Arduino prior to upload
|
||||
#
|
||||
# 0.4 25.v.2010 M J Oldfield
|
||||
# - tweaked reset target on Philip Hands' advice
|
||||
#
|
||||
# 0.5 23.iii.2011 Stefan Tomanek
|
||||
# - added ad-hoc library building
|
||||
# 17.v.2011 M J Oldfield
|
||||
# - grabbed said version from Ubuntu
|
||||
#
|
||||
# 0.6 22.vi.2011 M J Oldfield
|
||||
# - added ard-parse-boards supports
|
||||
# - added -lc to linker opts,
|
||||
# on Fabien Le Lez's advice
|
||||
#
|
||||
# 0.7 12.vii.2011 M J Oldfield
|
||||
# - moved -lm to the end of linker opts,
|
||||
# to solve Frank Knopf's problem;
|
||||
# - added -F to stty opts: Craig Hollabaugh
|
||||
# reckons it's good for Ubuntu
|
||||
#
|
||||
# 0.8 12.ii.2012 M J Oldfield
|
||||
# - Patches for Arduino 1.0 IDE:
|
||||
# support .ino files;
|
||||
# handle board 'variants';
|
||||
# tweaked compile flags.
|
||||
# - Build a library from all the system
|
||||
# supplied code rather than linking the .o
|
||||
# files directly.
|
||||
# - Let TARGET default to current directory
|
||||
# as per Daniele Vergini's 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.
|
||||
#
|
||||
# 0.9 26.iv.2012 M J Oldfield
|
||||
# - Allow the punter to specify boards.txt
|
||||
# file and parser independently (after
|
||||
# Peplin and Brotchie on github)
|
||||
# - Support user libraries (Peplin's patch)
|
||||
# - Remove main.cpp if NO_CORE_MAIN_CPP is
|
||||
# defined (ex Peplin)
|
||||
# - Added a monitor target which talks to the
|
||||
# Arduino serial port (Peplin's suggestion)
|
||||
# - Rejigged PATH calculations for general
|
||||
# tidiness (ex Peplin)
|
||||
# - Moved the reset target to Perl for
|
||||
# clarity and better error handling (ex
|
||||
# Daniele Vergini)
|
||||
#
|
||||
# 0.9.1 06.vi.2012 Sudar
|
||||
# - 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)
|
||||
#
|
||||
#
|
||||
# 0.9.2 06.vi.2012 Sudar
|
||||
# - Allow user to choose source files (LOCAL_*_SRCS flags) (https://github.com/Gaftech)
|
||||
# - Modified 'make size' behavior: using --mcu option and targeting .elf file instead of .hex file.(https://github.com/Gaftech)
|
||||
#
|
||||
# 0.9.3 13.vi.2012 Sudar
|
||||
# - Autodetect ARDUINO_DIR, Arduino version (https://github.com/rpavlik/)
|
||||
# - Categorize libs into user and system (https://github.com/rpavlik/)
|
||||
# - Dump size at the end of the build (https://github.com/rpavlik/)
|
||||
# - Lots and lots of improvements (https://github.com/rpavlik/)
|
||||
# - Changed bytes option for the head shell command, so that it works in Mac as well
|
||||
# - Auto detect Serial Baud rate from sketch if possible
|
||||
#
|
||||
# 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.2 10.ix.2012 Sudar
|
||||
# - Fixed a typo in README. Issue reported at upstream (https://github.com/mjoldfield/Arduino-Makefile/issues/21)
|
||||
#
|
||||
# 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.10.1 15.xii.2012 Sudar
|
||||
# - Merged all changes from Upstream and from https://github.com/rpavlik
|
||||
# - Allow passing extra flags (https://github.com/rpavlik)
|
||||
# - Make listing files more useful (https://github.com/rpavlik)
|
||||
# - Add knowledge of device-specific assembler (https://github.com/rpavlik)
|
||||
# - Use variables instead of hardcoded commands (https://github.com/rpavlik)
|
||||
# - Make disasm more helpful (https://github.com/rpavlik)
|
||||
# - Change .sym output (https://github.com/rpavlik)
|
||||
# - Provide symbol_sizes and generated_assembly targets. (https://github.com/rpavlik)
|
||||
# - Be able to silence configuration output (https://github.com/rpavlik)
|
||||
# - Make everybody depend on the makefile, in case cflags are changed, etc. (https://github.com/rpavlik)
|
||||
# - Make the makefile error if the arduino port is not present. (https://github.com/rpavlik)
|
||||
#
|
||||
# 0.10.2 15.xii.2012 Sudar
|
||||
# - Added sketch size verification. (https://github.com/fornellas)
|
||||
# - Show original line number for error messages (https://github.com/WizenedEE)
|
||||
# - Removed -w from CPPFLAGS to show warnings (https://github.com/gaftech)
|
||||
# - Changed shebang to use /usr/bin/env (https://github.com/anm)
|
||||
# - set USB_VID and USB_PID only for leonardo boards(https://github.com/alohr)
|
||||
#
|
||||
# 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
|
||||
# Refer to HISTORY.md file for complete history of changes
|
||||
#
|
||||
########################################################################
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue