From 167c7283dc8d63554c7f22dc36772218362d95fd Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Mon, 12 Oct 2026 06:18:21 +0200 Subject: pull work dotfiles --- home/dot_local/share/bin/executable_lsjlink | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 home/dot_local/share/bin/executable_lsjlink (limited to 'home/dot_local/share/bin/executable_lsjlink') diff --git a/home/dot_local/share/bin/executable_lsjlink b/home/dot_local/share/bin/executable_lsjlink new file mode 100644 index 0000000..bb7d8ee --- /dev/null +++ b/home/dot_local/share/bin/executable_lsjlink @@ -0,0 +1,11 @@ +#!/usr/bin/env python3 + +import pylink + +jlink = pylink.JLink() + +emulators = jlink.connected_emulators() + +for emu in emulators: + print(f"{emu.SerialNumber}: {emu.acProduct.decode('ascii')}") + -- cgit v1.2.3