thomasstenersen / pyrtt-viewer

A simple RTT client using Python 3 and pynrfjprog
MIT License
21 stars 5 forks source link

Make device selection easier on Linux/MacOS #2

Closed thomasstenersen closed 6 years ago

thomasstenersen commented 6 years ago

On Windows, the nrf.connect_to_emu_without_snr() works well as it pops up the JLink dialog to select the device. However, on MacOS and Linux, there is no such dialog. Instead, you should be able to get the available devices and select your favorite in some easy way.

thomasstenersen commented 6 years ago

Command line selection is now default:

~/dev/pyrtt-viewer(master) » ./pyrtt-viewer
Connected devices:
0: 682945175
1: 682576262
2: 682573185

Select a device number or quit (q):