From ec3086c2e78a1d50ffa2f0ec65e5e668ac21845a Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Sun, 28 Jun 2026 22:09:58 +0200 Subject: [PATCH] =?UTF-8?q?Add=20the=20AVR-LA=20series=20to=20"AVR?= =?UTF-8?q?=E2=80=A6D/E/L=E2=80=A6"=20in=20GUI=20device=20selection?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The GUI device selection dialog roughly classifies individual AVRs, to allow restricting the selection box. For the new AVR-LA devices, it makes sense to group them to the AVR-D* and AVR-E* devices, instead of falling back to "Other". --- src/python/adgui.py | 2 +- src/python/device.ui | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/python/adgui.py b/src/python/adgui.py index 56680d0e..720b2317 100755 --- a/src/python/adgui.py +++ b/src/python/adgui.py @@ -72,7 +72,7 @@ def classify_devices(): 'avr_de': [], 'other': [] } - avr_de_re = re.compile(r'AVR\d+[DE][A-Z]\d+') + avr_de_re = re.compile(r'AVR\d+[DEL][A-Z]\d+') part = ad.lfirst(ad.cvar.part_list) while part: p = ad.ldata_avrpart(part) diff --git a/src/python/device.ui b/src/python/device.ui index 31fa7578..7db2079a 100644 --- a/src/python/device.ui +++ b/src/python/device.ui @@ -127,7 +127,7 @@ - AVR…D/E… + AVR…D/E/L… true