From 37debe9d70a5b40a8751b123b8284b995ed9eafa Mon Sep 17 00:00:00 2001 From: andrew hutchison Date: Fri, 19 Feb 2016 15:01:15 -0700 Subject: [PATCH 1/3] added show_submenu target --- Arduino.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Arduino.mk b/Arduino.mk index ab7ecd9..bd75ea4 100644 --- a/Arduino.mk +++ b/Arduino.mk @@ -1495,6 +1495,9 @@ size: $(TARGET_HEX) show_boards: @$(CAT) $(BOARDS_TXT) | grep -E '^[a-zA-Z0-9_\-]+.name' | sort -uf | sed 's/.name=/:/' | column -s: -t +show_submenu: + @$(CAT) $(BOARDS_TXT) | grep -E '[a-zA-Z0-9_\-]+.menu.cpu.[a-zA-Z0-9_\-]+=' | sort -uf | sed 's/.menu.cpu./:/' | sed 's/=/:/' | column -s: -t + monitor: ifeq ($(MONITOR_CMD), 'putty') ifneq ($(strip $(MONITOR_PARMS)),) @@ -1543,6 +1546,7 @@ help: make reset - reset the Arduino by tickling DTR or changing baud\n\ rate on the serial port.\n\ make show_boards - list all the boards defined in boards.txt\n\ + make show_submenu - list all board submenus defined in boards.txt\n\ make monitor - connect to the Arduino's serial port\n\ make size - show the size of the compiled output (relative to\n\ resources, if you have a patched avr-size).\n\ From 42194444173b2b0116159b5db6a19199a13b652c Mon Sep 17 00:00:00 2001 From: andrew hutchison Date: Fri, 19 Feb 2016 15:05:26 -0700 Subject: [PATCH 2/3] updated BOARD_TAG to indicate show_submenu target --- arduino-mk-vars.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arduino-mk-vars.md b/arduino-mk-vars.md index c49201a..9a925e0 100644 --- a/arduino-mk-vars.md +++ b/arduino-mk-vars.md @@ -281,7 +281,7 @@ BOARD_TAG = uno or mega2560 **Description:** -1.5+ submenu as listed in `boards.txt` +1.5+ submenu as listed in `boards.txt` or `make show_submenu`. **Example:** From a1832e2759a47f989d9d3e242f76bde8ff6977ab Mon Sep 17 00:00:00 2001 From: andrew hutchison Date: Fri, 19 Feb 2016 15:08:51 -0700 Subject: [PATCH 3/3] update changelog to reflect show_submenu target --- HISTORY.md | 1 + 1 file changed, 1 insertion(+) diff --git a/HISTORY.md b/HISTORY.md index 07b8e68..a6a8b4d 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -6,6 +6,7 @@ I tried to give credit whenever possible. If I have missed anyone, kindly add it ### In Development +- New: Add show_submenu target (https://github.com/drewhutchison) - 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)