aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-10-20Merge pull request #646 from kpfleming/improve-detection-ard-reset-arduinoHEADmasterSimon John
Improve detection of ard-reset-arduino location
2020-10-20Improve detection of ard-reset-arduino locationKevin P. Fleming
Find location of ard-reset-arduino before prefixing it with PYTHON_CMD (so that 'which' failure can be detected). Also display the resulting RESET_CMD, or user-provided RESET_CMD.
2020-10-20Merge pull request #645 from kpfleming/use-cxx-for-linking-on-samdSimon John
Use C++ compiler when linking for SAMD-based boards
2020-10-20Merge pull request #643 from soburi/define_board_macroSimon John
Add -DARDUINO_{build.board} and -DARDUINO_VARIANT for compile options
2020-10-20Add -DARDUINO_VARIANT definitionTokita, Hiroshi
2020-10-19Use C++ compiler when linking for SAMD-based boardsKevin P. Fleming
The Arduino IDE supports full usage of C++ (including the standard library) on SAMD-based boards, so the final linking of the executable must be done using the C++ compiler. Closes #644.
2020-09-16Add -DARDUINO_BOARD definitionTokita Hiroshi
2020-09-15Add -DARDUINO_{build.board} for compile optionsTokita Hiroshi
2020-09-03Merge pull request #614 from co-dan/ctags_docs_fixSudar Muthu
Rename `CTAGS_CMD` to `CTAGS_EXEC` (in the documentation).
2020-09-03Merge pull request #630 from osamuaoki/ARDMK_DIRSudar Muthu
Let's make examples platform neutral
2020-09-03Merge pull request #640 from tuna-f1sh/travisSudar Muthu
Fix Travis CI, add SAMD test support, support GNU grep on macOS
2020-08-10remove #630John Whittington
2020-08-06platform neutral examples and manual cherry-pick merge of ↵John Whittington
https://github.com/alissa-huskey/Arduino-Makefile/tree/test_fixes
2020-08-06document GREP_CMDJohn Whittington
2020-08-06Arduino IDE upto support version and SAMD buildsJohn Whittington
process uses direct downloads. Might be better to move to distribution Arduino install + arduino-cli to install board support in future.
2020-08-06add python3 and pip3 to travis ymlJohn Whittington
2020-08-05Merge remote-tracking branch 'sej7278/python3'John Whittington
2020-08-05removed shebang sed from specfileSimon John
2020-08-04Replaced env with python3 shebangSimon John
2020-08-04Fixed SyntaxWarning: "is" vs "=="Simon John
2020-08-04Rebased python3 branch with some changes from tuna-f1sh@87d5241Simon John
2020-08-04detect and use GNU grep on macOSJohn Whittington
2020-06-04Merge branch 'master' of https://github.com/sudar/Arduino-MakefileJohn Whittington
2020-04-13Use $(ARDMK_DIR) for 1.6 filesOsamu Aoki
Signed-off-by: Osamu Aoki <osamu@debian.org>
2020-04-13Use $(ARDMK_DIR)Osamu Aoki
Signed-off-by: Osamu Aoki <osamu@debian.org>
2020-03-21Merge pull request #628 from ladislas/fix-monitor_baudrate-typoSudar Muthu
Fix monitor baudrate typo for user config
2020-03-21fix monitor baudrate typo for user configLadislas de Toldi
2020-02-24switch compliler flags to prevent AR fail on ARMJohn Whittington
2020-02-24Merge branch 'master' of https://github.com/sudar/Arduino-Makefile into HEADJohn Whittington
2019-08-25Merge pull request #613 from TaylorZowtuk/masterSimon John
Fixed syntax error of make monitor on windows/cygwin
2019-07-31Rename `CTAGS_CMD` to `CTAGS_EXEC`.Dan Frumin
The former is not actually tweakable.
2019-07-19Updated changelogTaylor Zowtuk
2019-07-19Syntax fix and documentation of MONITOR_PARAMSTaylor Zowtuk
2019-07-18Add new *_VER variables to documentationJohn Whittington
2019-07-17Merge branch 'upstream' into HEADJohn Whittington
2019-07-17ARM_TOOL_PATH detection, use latest version of tool if multiple foundJohn Whittington
2019-07-05Merge pull request #599 from szeder/build-apiSimon John
Build the ArduinoCore API (fixes issue #607)
2019-07-04Build the ArduinoCore APISZEDER Gábor
As part of the big modularizing efforts of the Arduino project they split out the hardware-independent layer of the Arduino "language" from the hardware-specific cores into the dedicated 'ArduinoCore-API' repository. As described in 'ArduinoCore-API's README, the API source files won't reside directly in the directory of the standard Arduino core, i.e. in 'ARDUINO_CORE_PATH', but in its 'ARDUINO_CORE_PATH/api' subdirectory. Consequently, Arduino-Makefile won't be able to build any projects when using an Arduino core following the new directory structure. Prepare for the upcoming new Arduino core directory structure by building all 'ARDUINO_CORE_PATH/api/*.cpp' source files as well. Out of caution, look out for and build any .c source files in that directory, too: though there are no .c source files in the 'ArduinoCore-API' repository at the moment, in the future there might be. Furthermore, add this directory to the list of directories to be searched for header files: though it's not necessary to explicitly and directly include any header file from this directory ('Arduino.h' includes all there is), some projects might nonetheless do so, and their build would then break. Note that a 'make clean' will be most likely necessary when re-building a project after switching to the new directory structure.
2019-07-03Merge pull request #608 from mumme74/masterSudar Muthu
Allow custom link script (Teensy)
2019-07-02Allow custom link scriptFredrik Johansson
2019-06-19Merge pull request #586 from SearchAThing-forks/masterSudar Muthu
allow to enable AVRDUDE_AUTOERASE_FLASH
2019-06-12Merge pull request #605 from szeder/quiet-0Simon John
Show the configuration when ARDUINO_QUIET=0
2019-06-12Show the configuration when ARDUINO_QUIET=0SZEDER Gábor
There is a bit of inconsistency between documentation and code regarding the ARDUINO_QUIET variable: 'arduino-mk-vars.md' states that ARDUINO_QUIET "Defaults to `0` (unset/disabled)", but the code only checks whether it's defined or not, and doesn't check whether it's set to '0' or something else. Consequently, having 'ARDUINO_QUIET=0' in the Makefile or running 'make ARDUINO_QUIET=0' contadicts the documentation and doesn't print the configuration. It also means that if someone in general prefers not to see a screenful of configuration on each build and therefore has 'ARDUINO_QUIET = 1' in the project's Makefile or 'config.mak', then there is no way to override it from the command line in the odd case when showing the configuration is desired. Modify the corresponding condition in Arduino.mk to check whether ARDUINO_QUIET is set to 0 and treat an undefined ARDUINO_QUIET variable as "set to 0" as well.
2019-06-03Merge pull request #604 from stv0g/fix-issue-601Sudar Muthu
Fix regression: PARSE_BOARD chops off flags which contain '=' signs
2019-05-03fix regression: PARSE_BOARD chops off flags which contain '=' signs (closes ↵Steffen Vogel
#601)
2019-04-20Merge pull request #598 from Dukejung/masterSudar Muthu
Add OpenCR.mk for OpenCR 1.0 board example sketch
2019-04-01Update HISTORY.mdSimon John
2019-04-01Merge pull request #603 from tuna-f1sh/masterSimon John
add swtich for ARM 'avr-size' so that .elf is passed as arg
2019-03-25add swtich for ARM 'avr-size' so that .elf is passed as argJohn Whittington
`avr-size` was defaulting to AVR non-aware when using ARM builds, which meant passing .hex rather than .elf to size and limiting size readout. Adding a switch for defining `avr-size` and SIZEFLAGS to Sam.mk seems like the best way to include proper ARM support (despite conflicting naming).
2019-03-02Merge pull request #600 from HorkusBoy/samd-typo-prSimon John
Fixed typo in variable name BOARDS_TXT in Sam.mk