Merge pull request #8386 from haukepetersen/opt_thingy52_usertt

boards/thingy52: use Segger RTT for STDIO
This commit is contained in:
Kaspar Schleiser 2018-01-22 13:16:20 +01:00 committed by GitHub
commit b6fe13684b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -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.