From ea18be30856d34c42f33e38a8732b9bee309bb85 Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Fri, 19 Jan 2018 22:43:26 +0100 Subject: [PATCH 1/2] boards/thingy52: use Segger RTT for STDIO --- boards/thingy52/Makefile.include | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/boards/thingy52/Makefile.include b/boards/thingy52/Makefile.include index 4056b13ce..44f568568 100644 --- a/boards/thingy52/Makefile.include +++ b/boards/thingy52/Makefile.include @@ -1,9 +1,10 @@ # CPU configuration for the Thingy:52 CPU_MODEL = nrf52832xxaa -# override default PORT -PORT_LINUX ?= /dev/ttyUSB0 -PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*))) +# for this board, we are using Segger's RTT as default terminal interface +USEMODULE += rtt_stdio +TERMPROG = $(RIOTBASE)/dist/tools/jlink/jlink.sh +TERMFLAGS = term_rtt # use shared Makefile.include include $(RIOTBOARD)/common/nrf52xxxdk/Makefile.include From f1951f53f57e15896fa2c61ebd05195593da134a Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Mon, 22 Jan 2018 12:10:18 +0100 Subject: [PATCH 2/2] examples/gnrc_border_router: blacklist thingy52 The Thingy:52 does not have a UART connected anymore... --- examples/gnrc_border_router/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/gnrc_border_router/Makefile b/examples/gnrc_border_router/Makefile index 7c6e479f4..2546b6e97 100644 --- a/examples/gnrc_border_router/Makefile +++ b/examples/gnrc_border_router/Makefile @@ -17,7 +17,7 @@ BOARD_INSUFFICIENT_MEMORY := airfy-beacon b-l072z-lrwan1 bluepill calliope-mini wsn430-v1_4 yunjia-nrf51822 z1 # The following boards do not have an available UART -BOARD_BLACKLIST += mips-malta pic32-wifire pic32-clicker ruuvitag +BOARD_BLACKLIST += mips-malta pic32-wifire pic32-clicker ruuvitag thingy52 # use ethos (ethernet over serial) for network communication and stdio over # UART, but not on native, as native has a tap interface towards the host.