aboutsummaryrefslogtreecommitdiff
path: root/Arduino.mk
AgeCommit message (Collapse)Author
2017-09-05Documentation changes for Windows usageJohn Whittington
2017-09-05Detect Cygwin Python or user installed Windows Python and use according ↵John Whittington
device port
2017-09-03Merge branch 'master' of https://github.com/sudar/Arduino-MakefileJohn Whittington
2017-09-03rm old tags file made safer and only if it existsJohn Whittington
2017-09-03Ido/ino typo in echo when building tagsJohn Whittington
2017-09-02Moved the LTO etc. flags from CXXFLAGS_STD to CXXFLAGSSimon John
2017-09-01Merge with upstreamJohn Whittington
2017-09-01Use LOCAL_SRC variable due to proir assert and only scan libs if there are libsJohn Whittington
2017-07-21Add -fno-devirtualize to CXXFLAGS_STD to workaround a g++ bug. As this could ↵Simon John
impact performance we should track when the issue is fixed upstream to remove the flag again (see links from Issue #486) Enabled colourised diagnostics from avr-gcc We forgot to increase ARDMK_VERSION for the 1.6.0 release
2017-07-12Add makefile for Robotis OpenCM & update version to 1.6.0Karl Semich
2017-06-04Support for generation of project tags fileJohn Whittington
Considering the number of project files spread in different locations when developing an Arduino project, proper use of tags can be difficult; resolving beyond local functions. I've added automatic generation of a tags file, which includes: * Standard ctags source in project dir (.c, .cpp, .h) * Arduino source in project dir (.ide, .pde) * Arduino core based on detected project core from Arduino install. * Included Arduino libraries from user library folder. As a Vim user I find this hugely useful and think it would be a useful addtion for others. Target has been added as `make tags`.
2017-06-01Fix autodetection of USB_PID on SparkFun's new ProMicro coreSimon John
Remove use of tilde in documentation as ~ doesn't work, use $(HOME) instead
2017-04-01Add support for cu as MONITOR_CMD, use ~. to exit, be mindful when using ↵Simon John
over ssh
2017-03-13show_submenu: fix sed expressionCédric Bosdonnat
The matching parentheses and | in sed expresssions need to be escaped or sed will consider like normal characters. Without this fix, make show_submenu was showing lines like this one: pro.menu.cpu.8MHzatmega328 ATmega328 (3.3V, 8 MHz) It now properly outputs lines like this: pro 8MHzatmega328 ATmega328 (3.3V, 8 MHz) This output is much less misleading to users especially newcomers.
2017-03-12Correct spelling mistake in PuTTY sectionEric Dand
MONITOR_PARMS should be MONITOR_PARAMS.
2017-01-21Arduino.mk: Fix generating assembly for cpp files.batchy
Do not include the Arduino header when generating assembly for .cpp files with generate_assembly. This was likely a copy-paste error.
2017-01-11Bump up version to 1.5.2 for releasev1.5.21.5.2Sudar Muthu
2016-11-04make it work with modern arduino and teensyduino scriptsGeorge Harker
2016-10-11Changed the PARSE_BOARD function to handle colons found in things like ↵Simon John
build.core and build.variant Fixes Issue #461
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-08Added LTO flags etc. to provide smaller/faster AVR code.Simon John
Works with 1.6.10 or later; or 1.0.x with avr-gcc toolchain 4.8+
2016-07-29Fix for 1.6.10 version detectionSimon John
Updated HISTORY.md with latest commits
2016-07-25Merge pull request #437 from straccio/masterSudar Muthu
Search in submenu chip or cpu for vars
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-07-02Update READMEaz-z
Updated to reflect the Linux changes for Arduino 1.6.5 Updated to reflect the information (Linux portion) from the guide. Removed the URL to the blog.
2016-06-22Search in BOARDS_TXT for chip or cpu submenustraccio
Using new Arduino IDE and ATTinyCore board module he need to search var various vars not in cpu submenu but in chip. Changed the makefile in order to search chip or cpu using regular expression.
2016-02-22Bump up version to v1.5.1 for release1.5.1Sudar Muthu
2016-02-19added show_submenu targetandrew hutchison
2015-12-28Removed the check for BOOTLOADER_PATH being empty as its merged intoSimon John
BOOTLOADER_FILE in 1.5+ Now we just check for BOOTLOADER_FILE being non-empty on both versions. Fixes issue #402
2015-12-16Fixed "make show_boards" regex to allow for hyphens in BOARD_TAGSimon John
e.g. attiny44-20, thanks to Atmel for the sample chip!
2015-10-26Better parsing of boards.txt file which allows Adafruit Trinket to be usedAlbert Pretorius
2015-09-21Add path examples for both Mac IDE versionsThomas Kilian
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-13Ensure AVRDUDE_CONF is set when AVR_TOOLS_DIR is manually set by user,Simon John
not just on Windows - fixes issue #381 Code around this area probably needs a tidy up at some point.
2015-09-07Make sure TARGET is set correctly when CURDIR contains spaces.Sven Dahlstrand
With this fix the `TARGET` variable is set correctly when the project directory (or its path) contains spaces. So in this case: /Users/Joe/Dropbox (Personal)/example project `TARGET` will be set to `example_project` instead of `Dropbox example project` (like it was before this fix).
2015-07-14Added support for AVR Dragon in both ISP and DebugWire modePaul Russo
2015-07-09Took another couple of changes from @peplin's PR #256 for chipKITSimon John
2015-07-09Preserve source extension for object files.Simon John
Needed to fix the new wiring_pulse.S in IDE 1.6.5 which also has a wiring_pulse.c source file. Mostly rebased @peplin's PR #266, so should allow us to support newer chipKIT builds too.
2015-06-11Add /dev/tty.wchusbserial* to the list of serial ports (CH341, CH34O chip ↵Grzegorz Biesiadecki
comes with cheap arduino clones - DCCduino)
2015-06-11Add support for picocom as a monitorGrzegorz Biesiadecki
2015-06-02Add option to split avrdude MCU from avr-gcc MCUhhgarnes
Fix #359
2015-04-12Looks for submenu items first when parsing BOARDS_TXTSimon John
as suggested by @michaelbaisch in issue #346 Might want to update HISTORY.md with an "in development" version number.
2015-04-07Bump version to v1.5 for release1.5Sudar
2015-04-04Better autodetection of ARDUINO_SKETCHBOOK and ARDUINO_DIR on OSXSimon John
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-03-28Fixed typo - bracket should be backslash to continue the call to firstword()Simon John
2015-03-28Locate 1.5+ preferences.txt file on MacSudar
2015-03-27Now we know that arduino 1.6.1 uses the ~/.arduino15 directorySimon John
we can find preferences.txt Still need to find out where it looks on OSX/Cygwin
2015-03-27Add = to PARSE_BOARD regex to make it less greedy.Simon John
For instance in the Sparkfun 1.6 core, we have: promicro16.build.vid.0=0x1B4F promicro16.build.vid.1=0x1B4F promicro16.build.vid=0x1B4F So we end up matching all 3 instead of just the last one. Adding the = means we're looking for promicro16.build.vid= so not catching the .0 or .1 version.
2015-03-26Added BOARD_SUB to OBJDIR so that when changing sub boards we don't ↵Simon John
accidentally overwrite existing builds. E.g. mega1280 and mega2560 previously *both* created a "build-mega" directory, now they'll create build-mega-mega2560 and build-mega-mega1280 Only applies to 1.5+ of course, and only when BOARD_SUB is used. 1.0 will still create build-mega2560 and build-mega1280 directories (just BOARD_TAG)