| Age | Commit message (Collapse) | Author |
|
|
|
Fix #131
|
|
Changing the optimization level from -Os to something else breaks the
SoftwareSerial library. This patch allow optimization flags to be set on a
per target basis.
|
|
|
|
|
|
|
|
When using ICSP programmers e.g. usbasp, you can burn sketches directly
to the chip without having to burn a bootloader, however you do need to
set fuses e.g. if you're changing speed/BOD.
Updated help text to include "make set_fuses" and also changed
"make burn_bootloader" help text which wasn't entirely accurate.
Fix #141
|
|
This way we don't assume the make file is 'Makefile' and it will
work even if it is named as 'makefile' or 'makefile-uno'
Fix #130
|
|
Fix #135
|
|
|
|
rationale:
http://unix.stackexchange.com/questions/65803/why-is-printf-better-than-echo
fix #129
|
|
Fix #120
|
|
Code to burn fuses is moved from ispload target to this new target, so
that fuses are burned only once when needed.
Fix #85
|
|
Arduino IDE also reads this from boards.txt file
Fix #125
|
|
Fix #124
|
|
When usbasp is used as programmer, there is no need to specify the port
to avrdude.
Fix #123
|
|
No change in functionality
|
|
This is needed in Mega boards, because of a bug in Mega bootloader. See
https://github.com/sudar/Arduino-Makefile/issues/114#issuecomment-25011005
for detailed explanation.
Fix #114
|
|
|
|
If these executables are not overridden in the child makefile, then the
default values are not set properly in the master makefile.
This complicates the solution for #119 :(
This reverts commit 66eec82a3af8ee5aa16e28230346e4a1f166da2b.
|
|
Lot of changes went it for this release and the code is stable enough
for 1.0.0
|
|
This is helpful for #119 which will add support for colorgcc
|
|
Should close Issue #60
|
|
Till not it is not possible to build with Arduino core, without using a
.ino or .pde file. This commit removes that restriction.
However, the user has to explicitly include Arduino header files.
Fix #105
|
|
Because of the way the autodetect code works, if no .ino/.pde file is
present, then the makefile hangs
|
|
Checks bootloader.path for "caterina", instead of checking only for
leonardo
Fix #96
Fix #97
Fix #102
|
|
Fix #101
|
|
Working towards dropping the dependency on Perl (which very few Windows users
have), this commit implements the required functionality from ard-parse-boards
in a few shell commands from within the Makefile.
Fix #100
|
|
This commit modifies a few things in Arduino.mk to be able to support
overriding the necessary configuration options to support the chipKIT build,
and also includes an example sketch configured to build for the Max32 platform.
In addition the following changes were done as well
- Control C standard with a CFLAGS_STD flag, GNU99 by default.
- Duplicate show_config_variable in each sub-makefile.
- Remove redundant output of ARDUINO_PREFERENCES_PATH from config table.
- Defer Priting ARDMK_DIR until Arduino.mk.
- Define names of compiler tools earlier to use for path checking.
Duplicating show_config_variable is unfortunate because the code is duplicated,
but I don't see a good way around it since we need to dupliacate the check
for ARDMK_DIR before we can find Common.mk.
Fix #98
|
|
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
|
|
|
|
Fix #86
|
|
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
|
|
|
|
|
|
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
|
|
|