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:
parent
135a37a4d1
commit
f9ebc8658f
@ -658,7 +658,7 @@ term: $(TERMDEPS)
|
|||||||
$(TERMPROG) $(TERMFLAGS)
|
$(TERMPROG) $(TERMFLAGS)
|
||||||
|
|
||||||
# Term without the pyterm added logging
|
# 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: export PYTERMFLAGS += --noprefix --no-repeat-command-on-empty-line
|
||||||
cleanterm: $(TERMDEPS)
|
cleanterm: $(TERMDEPS)
|
||||||
$(call check_cmd,$(TERMPROG),Terminal program)
|
$(call check_cmd,$(TERMPROG),Terminal program)
|
||||||
|
@ -5,7 +5,7 @@ OFLAGS := --gap-fill 0xff
|
|||||||
|
|
||||||
# Configure terminal, hamilton doesn't provide any UART, thus use RTT
|
# Configure terminal, hamilton doesn't provide any UART, thus use RTT
|
||||||
TERMPROG = $(RIOTTOOLS)/jlink/jlink.sh
|
TERMPROG = $(RIOTTOOLS)/jlink/jlink.sh
|
||||||
TERMFLAGS = term_rtt
|
TERMFLAGS = term-rtt
|
||||||
|
|
||||||
USEMODULE += stdio_rtt
|
USEMODULE += stdio_rtt
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# for this board, we are using Segger's RTT as default terminal interface
|
# for this board, we are using Segger's RTT as default terminal interface
|
||||||
USEMODULE += stdio_rtt
|
USEMODULE += stdio_rtt
|
||||||
TERMPROG = $(RIOTTOOLS)/jlink/jlink.sh
|
TERMPROG = $(RIOTTOOLS)/jlink/jlink.sh
|
||||||
TERMFLAGS = term_rtt
|
TERMFLAGS = term-rtt
|
||||||
|
|
||||||
# use shared Makefile.include
|
# use shared Makefile.include
|
||||||
include $(RIOTBOARD)/common/nrf52xxxdk/Makefile.include
|
include $(RIOTBOARD)/common/nrf52xxxdk/Makefile.include
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# for this board, we are using Segger's RTT as default terminal interface
|
# for this board, we are using Segger's RTT as default terminal interface
|
||||||
USEMODULE += stdio_rtt
|
USEMODULE += stdio_rtt
|
||||||
TERMPROG = $(RIOTTOOLS)/jlink/jlink.sh
|
TERMPROG = $(RIOTTOOLS)/jlink/jlink.sh
|
||||||
TERMFLAGS = term_rtt
|
TERMFLAGS = term-rtt
|
||||||
|
|
||||||
# use shared Makefile.include
|
# use shared Makefile.include
|
||||||
include $(RIOTBOARD)/common/nrf52/Makefile.include
|
include $(RIOTBOARD)/common/nrf52/Makefile.include
|
||||||
|
7
dist/tools/jlink/jlink.sh
vendored
7
dist/tools/jlink/jlink.sh
vendored
@ -50,6 +50,9 @@
|
|||||||
# reset: triggers a hardware reset of the target board
|
# 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>
|
# @author Hauke Peteresen <hauke.petersen@fu-berlin.de>
|
||||||
|
|
||||||
# Set IMAGE_OFFSET to zero by default.
|
# Set IMAGE_OFFSET to zero by default.
|
||||||
@ -286,12 +289,12 @@ case "${ACTION}" in
|
|||||||
echo "### Resetting Target ###"
|
echo "### Resetting Target ###"
|
||||||
do_reset "$@"
|
do_reset "$@"
|
||||||
;;
|
;;
|
||||||
term_rtt)
|
term-rtt)
|
||||||
echo "### Starting RTT terminal ###"
|
echo "### Starting RTT terminal ###"
|
||||||
do_term
|
do_term
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Usage: $0 {flash|debug|debug-server|reset}"
|
echo "Usage: $0 {flash|debug|debug-server|reset|term-rtt}"
|
||||||
echo " flash <binfile>"
|
echo " flash <binfile>"
|
||||||
echo " debug <elffile>"
|
echo " debug <elffile>"
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user