From 14b5e91a4253b15cc9acf897e73513e84a6afe66 Mon Sep 17 00:00:00 2001 From: Trecia Agoylo Date: Mon, 25 Nov 2024 07:59:11 +0800 Subject: [PATCH] tasks: add pluto and m2k as exception for diagnostics Signed-off-by: Trecia Agoylo --- nebula/tasks.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nebula/tasks.py b/nebula/tasks.py index ddcdab3..b233cd5 100644 --- a/nebula/tasks.py +++ b/nebula/tasks.py @@ -875,8 +875,9 @@ def board_diagnostics_manager( board_name=board_name, vivado_version=vivado_version, ) - if not m.jtag_use: - raise Exception("JTAG not initialized") + if board_name not in ["m2k", "pluto"]: + if not m.jtag_use: + raise Exception("JTAG not initialized") @task(