From 35a4b7dff5c3c5e64e41b1e869a57923c594176e Mon Sep 17 00:00:00 2001 From: Hans Maerki Date: Sun, 30 Jun 2024 12:42:13 +0200 Subject: [PATCH] tmp --- .../config_infrastructure_wetzikon_a.py | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/octoprobe/config/config_infrastructure_wetzikon_a.py b/octoprobe/config/config_infrastructure_wetzikon_a.py index 417c8b5..523b37e 100644 --- a/octoprobe/config/config_infrastructure_wetzikon_a.py +++ b/octoprobe/config/config_infrastructure_wetzikon_a.py @@ -7,23 +7,26 @@ from octoprobe.lib_infrastructure import Infrastructure from octoprobe.lib_tentacle import Tentacle, UsbHub -hub = UsbHub( - label="Hub A", +hub1 = UsbHub( + label="Hub 1", + model=octohub4, +) +hub2 = UsbHub( + label="Hub ", model=octohub4, - model=rsh_a10, ) tentacle_pyboard = Tentacle( infra_rp2_unique_id="E463541647612835", tentacle_type=tentacle_type_pyboard, - plug_infra=hub.get_plug(1), - plug_dut=hub.get_plug(2), + plug_infra=hub1.get_plug(1), + plug_dut=hub1.get_plug(2), ) tentacle_seed_pico = Tentacle( infra_rp2_unique_id="E463541647173F34", tentacle_type=tentacle_type_seed_pico, - plug_infra=hub.get_plug(3), - plug_dut=hub.get_plug(4), + plug_infra=hub2.get_plug(1), + plug_dut=hub2.get_plug(2), ) @@ -32,5 +35,5 @@ tentacle_seed_pico, tentacle_pyboard, ], - hubs=[hub], + hubs=[hub2], )