[riot-notifications] [RIOT-OS/RIOT] dist/tools/jlink: add -nogui to version test, fix for OSX (#15441)

Roudy Dagher notifications at github.com
Fri Nov 13 14:38:37 CET 2020


Tested on macos with success:
```shell
$ grep --version
grep (BSD grep) 2.5.1-FreeBSD

$ JLinkExe
SEGGER J-Link Commander V6.86g (Compiled Nov  6 2020 18:12:16)
DLL version V6.86g, compiled Nov  6 2020 18:12:00

Connecting to J-Link via USB...O.K.
Firmware: J-Link OB-STM32F072-128KB-CortexM compiled Jan 21 2020 17:32:07
Hardware version: V1.00
S/N: 760103336
VTref=3.300V


Type "connect" to establish a target connection, '?' for help
J-Link>q

$ echo q | JLinkExe -nogui 1 2> /dev/null | grep "^DLL version*" | grep -oE '[0-9]+\.[0-9]+'
6.86
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15441#issuecomment-726769288
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201113/cc7f781f/attachment.htm>


More information about the notifications mailing list