This is a simple Python 3 script for simple RTT interaction with an nRF5x device.
If you just want to use it directly, you can install using pip
:
pip install pyrtt-viewer
Then you can run the script as a normal executable:
pyrtt-viewer -h
pyrtt-viewer [-s <serial-number>] [-c <rtt-channel>]
If you think you'd like to modify the script a bit, install it as a local package:
pip install -e .
pynrfjprog
-- pip install pynrfjprog