| Age | Commit message (Collapse) | Author |
|
|
|
my understanding of recursively expanded variables wasn't correct
|
|
Checks bootloader.path for "caterina"
|
|
When a Leonardo based board is reset, the port disappears and we need to
wait till it comes back.
Earlier this logic was handled by a separate shell script. Now the logic
is moved inside the ard-reset-arduino perl script. This is done to
reduce the number of binaries that are needed by the makefile.
Fix #95
|
|
Earlier bin/ard-verify-size shell script was used to validate that the
binary hex file size is less than the flash memory of the target
microcontroller.
This commit removes the dependency on the external shell script, by
moving the binary size verification logic inside the makefile itself.
Fix #54
|
|
In Arduino Linux distribution, avrdude and avrdude.conf files are placed
in different path. This commit improves the autodetection of avrdude
and avrdude.conf paths by considering this fact.
Fix #48
|
|
Right now CURRENT_OS can have one of the following values
- WINDOWS
- LINUX
- MAC
|
|
In 25a31afbd92f03a1df1b50e3620f40afedd2e67e a bug was introduced which
prevented the config info for AVR_TOOLS_DIR to be printed when
AVRDUDE_CONF was defined.
This commit moves the config printing statement for AVR_TOOLS_DIR
outside the condition which checks whether AVRDUDE_CONF is defined.
|
|
|
|
Documention and fixes for openSUSE and system provided avrdude
|
|
|
|
If one likes to use avrdude from outside of Arduino together with
Arduino-bundled gcc crosstolchain, the setting of AVRDUDE_CONF got
overwritten.
|
|
Signed-off-by: Ralf Doering <ralf@rdoering.net>
|
|
Remove tab from empty line.
|
|
If editing and saving Arduino.mk with emacs, emacs complains about
"Suspicious line 1050". This line is empty but contains an extra tab.
Signed-off-by: Ralf Doering <ralf@rdoering.net>
|
|
|
|
|
|
Fix #86
|
|
This example shows how to use softwareSerial in a ATtiny device using
the ATtiny core
|
|
From commit fc968b919148eb99d1d58a8454a71bf703ca7c78 files inside
utility are automatically build.
Fix #84
|
|
Micro can be reset using Leonardo reset functions itself. So call
Leonardo reset functions for Micro as well.
The reset function seems to have some issues for Micro and is not
100% reliable, like Leonardo. See comments in #30.
Fix #80
Fix #83
|
|
Fix #81
|
|
Fix #77
|
|
|
|
The deprecated target will be removed in v1.0.0.
Fix #79
|
|
Before, .ino and .pde files would be converted to .cpp files and there
is a rule to convert those .cpp files to .s files for make
generated_assembly. However, since 1f043bb (Compile .ino and .pde files
directly) these intermediate .cpp files are no longer generated,
breaking the rule to generate .s files.
This fixes this by also generating .s files from .ino and .pde files
directly.
Closes #76
|
|
In 1f043bb (Compile .ino and .pde files directly), this dependency was
accidentally dropped from these rules. This fixes this by adding it
again.
|
|
|
|
|
|
To compile plain AVR C files, the variable NO_CORE should be initialized
to a non-empty value.
When NO_CORE is set, the following changes happen
- boards.txt file is not parsed. The user should explicitly set MCU,
F_CPU, fuse bits etc.
- MONITOR_BAUDRATE is not calculated
Fix #63
|
|
Introduce two new variables AVRDUDE_ISP_FUSES_PRE and
AVRDUDE_ISP_FUSES_POST which are set based on whether the fuse bits are
present or not.
avrdude is invoked to set fuse bits only if these new variables are not
empty.
Fix #61
|
|
A new environmental variable AVRDUDE_OPTS is added, which can be used to
configure the options passed to avrdude.
Fix #53
|
|
|
|
|
|
|
|
Ref 1012f765fe3ff181550766d615f8c5b41b45c01e
|
|
|
|
Don't indent variable assignments with tabs
|
|
This causes make to consider the line part of the preceding recipe,
causing the variable to remain unset and the preceding recipe to break.
In this case, this was the recipe for user libraries with .c files,
which is uncommon enough for this to go unnoticed.
This was broken in 3bce1d88 (Allow adding extra common dependencies).
|
|
ard-reset-leonardo which was used for reseting Leonardo was written in
Python. Now the logic is added inside the ard-reset-arduino perl script
itself.
Fix #62
Squashed commit of the following:
commit a63366980f452780f9f7894a8c7b77ca9cd9dcdd
Author: Simon John <git@the-jedi.co.uk>
Date: Fri Jun 14 11:36:00 2013 +0200
who put a space in the shebangs?!
commit c798eb26ea12351186b8f64266d98f44ed791270
Author: Simon John <git@the-jedi.co.uk>
Date: Fri Jun 14 11:10:12 2013 +0200
replaced ard-reset-leonardo with an update to ard-reset-arduino
which is now called from Arduino.mk with the --leonardo flag
removed some trailing whitespace
upped version string in Arduino.mk
|
|
Fix directory creation for library source files
|
|
In commit 3bce1d88 (Allow adding extra common dependencies), the way
$(OBJDIR) was created changed. Instead of having some ad-hoc mkdir calls
around, all relevant rules were made to depend on the directory instead.
However, this change didn't take into account that the object files for
libraries live instead a subdirectory of $(OBJDIR), which was no longer
automatically created. This made compilation of all libraries fail, on a
clean build directory.
Fixing the rules to depend on $(dir $@) or $(dir %) doesn't work, since
those function calls are expanded by making upon reading the file, not
later when the rule is actually matched.
Therefore, this commit restores the previous explicit mkdir calls for
library object files. The non-library objects files, which do not live
in a subdirectory, still use the dependency approach as before.
Fixes: #58
|
|
Replace regex used for detecting serial baudrate.
New regex is tested in both debian and mountain lion.
fix #52 - serial monitor baudrate detection
|
|
adds another pass to sed to remove the '1:' from debian version numbers
|
|
|
|
Fix whitespace and add /dev/null redirection
|
|
|
|
|
|
|
|
|