1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

dist/tools/jlink: cleanup doc

This commit is contained in:
Francisco Molina 2019-11-18 11:45:19 +01:00
parent 135a37a4d1
commit f9ebc8658f
5 changed files with 9 additions and 6 deletions

View File

@ -658,7 +658,7 @@ term: $(TERMDEPS)
$(TERMPROG) $(TERMFLAGS)
# Term without the pyterm added logging
# TERMFLAGS must be exported for `jlink.sh term_rtt`.
# PYTERMFLAGS must be exported for `jlink.sh term-rtt`.
cleanterm: export PYTERMFLAGS += --noprefix --no-repeat-command-on-empty-line
cleanterm: $(TERMDEPS)
$(call check_cmd,$(TERMPROG),Terminal program)

View File

@ -5,7 +5,7 @@ OFLAGS := --gap-fill 0xff
# Configure terminal, hamilton doesn't provide any UART, thus use RTT
TERMPROG = $(RIOTTOOLS)/jlink/jlink.sh
TERMFLAGS = term_rtt
TERMFLAGS = term-rtt
USEMODULE += stdio_rtt

View File

@ -1,7 +1,7 @@
# for this board, we are using Segger's RTT as default terminal interface
USEMODULE += stdio_rtt
TERMPROG = $(RIOTTOOLS)/jlink/jlink.sh
TERMFLAGS = term_rtt
TERMFLAGS = term-rtt
# use shared Makefile.include
include $(RIOTBOARD)/common/nrf52xxxdk/Makefile.include

View File

@ -1,7 +1,7 @@
# for this board, we are using Segger's RTT as default terminal interface
USEMODULE += stdio_rtt
TERMPROG = $(RIOTTOOLS)/jlink/jlink.sh
TERMFLAGS = term_rtt
TERMFLAGS = term-rtt
# use shared Makefile.include
include $(RIOTBOARD)/common/nrf52/Makefile.include

View File

@ -50,6 +50,9 @@
# reset: triggers a hardware reset of the target board
#
#
# term-rtt: opens a serial terminal using jlink RTT(reak time transfer)
#
#
# @author Hauke Peteresen <hauke.petersen@fu-berlin.de>
# Set IMAGE_OFFSET to zero by default.
@ -286,12 +289,12 @@ case "${ACTION}" in
echo "### Resetting Target ###"
do_reset "$@"
;;
term_rtt)
term-rtt)
echo "### Starting RTT terminal ###"
do_term
;;
*)
echo "Usage: $0 {flash|debug|debug-server|reset}"
echo "Usage: $0 {flash|debug|debug-server|reset|term-rtt}"
echo " flash <binfile>"
echo " debug <elffile>"
;;