diff options
| author | Albert Pretorius <albert@swash.com> | 2015-10-26 19:07:53 +0000 |
|---|---|---|
| committer | Albert Pretorius <albert@swash.com> | 2015-10-26 19:22:33 +0000 |
| commit | edcaa8557b1117dcee96b3a7c4d6fa736d80ac81 (patch) | |
| tree | 8d5a4a78d255c910d8a8daab5bc776a83ddd8904 | |
| parent | 02a1811d454340a7b7ad1d5123bb96d623c805fb (diff) | |
Better parsing of boards.txt file which allows Adafruit Trinket to be used
| -rw-r--r-- | Arduino.mk | 2 | ||||
| -rw-r--r-- | HISTORY.md | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -568,7 +568,7 @@ endif ifndef PARSE_BOARD # result = $(call READ_BOARD_TXT, 'boardname', 'parameter') - PARSE_BOARD = $(shell grep -v '^\#' $(BOARDS_TXT) | grep $(1).$(2)= | cut -d = -f 2 ) + PARSE_BOARD = $(shell grep -v '^\#' $(BOARDS_TXT) | grep "^[ \t]*$(1).$(2)=" | cut -d = -f 2) endif # If NO_CORE is set, then we don't have to parse boards.txt file @@ -6,6 +6,7 @@ I tried to give credit whenever possible. If I have missed anyone, kindly add it ### In Development +- Tweak: Add support for Adafruit trinket3/trinket5/protrinket3/protrinket5 by improved BOARDS_TXT parsing - New: Add AVR Dragon to list of ISP's without a port (https://github.com/mtnocean) - New: Add more board examples to Blink demo (https://github.com/sej7278) - New: Add option to split avrdude MCU from avr-gcc MCU (Issue #357) (https://github.com/hhgarnes) |
