Skip to content

Commit 37debe9

Browse files
author
andrew hutchison
committed
added show_submenu target
1 parent c0fe818 commit 37debe9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Arduino.mk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1495,6 +1495,9 @@ size: $(TARGET_HEX)
14951495
show_boards:
14961496
@$(CAT) $(BOARDS_TXT) | grep -E '^[a-zA-Z0-9_\-]+.name' | sort -uf | sed 's/.name=/:/' | column -s: -t
14971497

1498+
show_submenu:
1499+
@$(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
1500+
14981501
monitor:
14991502
ifeq ($(MONITOR_CMD), 'putty')
15001503
ifneq ($(strip $(MONITOR_PARMS)),)
@@ -1543,6 +1546,7 @@ help:
15431546
make reset - reset the Arduino by tickling DTR or changing baud\n\
15441547
rate on the serial port.\n\
15451548
make show_boards - list all the boards defined in boards.txt\n\
1549+
make show_submenu - list all board submenus defined in boards.txt\n\
15461550
make monitor - connect to the Arduino's serial port\n\
15471551
make size - show the size of the compiled output (relative to\n\
15481552
resources, if you have a patched avr-size).\n\

0 commit comments

Comments
 (0)