aboutsummaryrefslogtreecommitdiff
path: root/arduino-mk-vars.md
AgeCommit message (Collapse)Author
2016-11-04add comment on additional varsGeorge Harker
2016-10-11Changed LTO support check to avr-gcc > 4.9.0 as the 4.8.1 bundled with the ↵Simon John
IDE prior to 1.6.10 doesn't support LTO or plugins. Fixes Issue #456 So essentially LTO support will only be enabled with avr-gcc 4.9.2 which comes with 1.6.10 or later and Debian, Ubuntu etc; not 4.8.1 which comes with IDE 1.6.9 and a few earlier versions. Tested with: * 1.6.8 (avr-gcc 4.8.1 which doesn't support LTO so uses avr-ar and doesn't set LTO flags) * 1.6.12 (avr-gcc 4.9.2 which supports LTO so uses avr-gcc-ar and sets LTO flags) * 1.0.5 with Debian avr-gcc 4.9.2 (supports LTO so uses avr-gcc-ar and sets LTO flags)
2016-09-08Updated docs regarding CXXFLAGS etc. for LTO supportSimon John
2016-07-25Added -std=gnu++11 -fno-threadsafe-statics to CXXFLAGS_STD if we're using ↵Simon John
Arduino 1.6 to match upstream (without it compilation seems to fail on OSX). Updated docs. Also made ARDUINO_LIB_PATH overloadable (as implied by arduino-mk-vars.md) although this is a pretty niche use-case.
2016-02-19updated BOARD_TAG to indicate show_submenu targetandrew hutchison
2015-09-15Replace $VENDOR with $ARDMK_VENDOR as $VENDOR is a tcsh environment variable.Simon John
$ARCHITECTURE is probably safe as that's usually called $ARCH. Fixes issue #386. Need to decide if this is going to upset too many user's who have already started using $VENDOR - and who uses tcsh? ;-)
2015-09-07Add documentation for the TARGET variable.Sven Dahlstrand
2015-05-15Updated some documentation to clarify 1.5+ settings.Simon John
Fixes #352
2015-03-28Added support for VARIANT in submenu'sSimon John
Also added a note that in certain 1.6 cores (attiny) F_CPU is a submenu item e.g. attiny.menu.clock.internal1.build.f_cpu=1000000L
2015-01-23Ability to modify USB_TYPE in Teensy.mdpoofjunior
See #313
2014-12-30Tidy new arduino mk varsGabrielius Mickevicius
Add CORE and FORCE_MONITOR_PORT to arduino-mk-vars.md and FORCE_MONITOR_PORT to config print.
2014-11-07Allow avrdude to erase the chip before programming during isploadThomas Hebb
We currently pass the -D (do not erase) option to avrdude unconditionally in order to work around an Arduino Mega bootloader bug. However, this has the side-effect of breaking the ispload target for all non-XMEGA chips, since a write operation on these chips essentially ANDs the new program with the existing memory contents. If the memory is not first erased to contain only 0xff, the resulting image is garbage. This patch makes it so we pass -D when we're using the Arduino bootloader but don't pass it when we're using ISP directly.
2014-10-11Arduino 1.5.x - support new library layout and plaform specific system libsLukasz Engel
- Add support for 1.5.x library layout. (https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification) - Allow using Arduino 1.5.x platform specific system libraries. Arduino 1.5.x has additional directories for platform (vendor/architecture) specific libraries - look there when searching for libraries.
2014-09-10Document CFLAGS, CXXFLAGS, ASFLAGS and CPPFLAGS.Christopher Peplin
After understanding the difference between CXXFLAGS and CPPFLAGS, this is a revised commit for https://github.com/sudar/Arduino-Makefile/pull/257
2014-08-29Allow libraries/sketches to have the same name as system libs,Simon John
e.g. main or Wire Doesn't seem to work with main.cpp but main.ino works. Fixes issue #229 and #244
2014-08-13add CFLAGS_STD and CXXFLAGS_STD defaultsladislas
2014-08-13Revert "Using CFLAGS_STD and CPPFLAGS_STD"Sudar
2014-08-12create CPPFLAGS_STD and make both CFLAGS_STD and CPPFLAGS_STD avalaible for ↵ladislas
CFLAGS and CXXFLAGS
2014-08-08Add some documentation regarding overloading system libs and reporting bugsSimon John
2014-07-12Made all the changes into one commit that could be a patch for masterSimon John
2014-04-21fixed typo - should be ARDUINO_SKETCHBOOK not ARDUINO_VERSIONSimon John
2014-03-23Add `BOOTLOADER_PARENT` which has to be set if the user sets either of the ↵Simon John
other two BOOTLOADER variables Fix #178
2014-03-20Add phony target to run pre-build hook scriptJulien Ridoux
Fix #176
2014-03-06Beautify arduino-mk-vars.mdtinyladi
Clean up markdown and add code blocks where needed Fix #171
2014-03-06Add `OBJDIR` reference to `arduino-mk-vars.md`tinyladi
Signed-off-by: tinyladi <ladislas@weareleka.com>
2014-02-04Document all the variables that can be overridden in child makefileSudar
Huge thanks to @sej7278 for doing this Fix #75