update help target

This commit is contained in:
hathach 2018-10-02 23:15:43 +07:00
parent b5604dc446
commit 82c56fbbd2

View File

@ -371,9 +371,12 @@ all-release:
$(call _make_all_board,clean all release) $(call _make_all_board,clean all release)
help: help:
@echo To flash a pre-built binary with a specific version to a board @echo To flash (with jlink) a pre-built binary with a specific version to a board
@echo $$ make BOARD=feather_nrf52840_express VERSION=6.1.0r0 flash @echo $$ make BOARD=feather_nrf52840_express VERSION=6.1.0r0 flash
@echo @echo
@echo To flash (with dfu) a pre-built binary with a specific version to a board
@echo $$ make BOARD=feather_nrf52840_express VERSION=6.1.0r0 SERIAL=/dev/ttyACM0 dfu0-flash
@echo
@echo To compile and build the current code for a board @echo To compile and build the current code for a board
@echo $$ make BOARD=feather_nrf52840_express all @echo $$ make BOARD=feather_nrf52840_express all
@echo @echo
@ -381,7 +384,7 @@ help:
@echo $$ make BOARD=feather_nrf52840_express flash @echo $$ make BOARD=feather_nrf52840_express flash
@echo @echo
@echo To flash current code using existing bootloader dfu @echo To flash current code using existing bootloader dfu
@echo $$ make BOARD=feather_nrf52840_express dfu-flash @echo $$ make BOARD=feather_nrf52840_express SERIAL=/dev/ttyACM0 dfu-flash
#******************* Flash target ******************* #******************* Flash target *******************