From d687c4ebbebf955700aec087099a711cb18e91f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Hofrichter?= Date: Mon, 7 Sep 2026 17:16:37 +0200 Subject: [PATCH] host: mpmd based uhd_image_loader: prefer .bin files Prefer .bin over .bit files when loading FPGA without full FPGA path name. This changes the order which was introduced with commit 2618b51cb80a0c13e4a005bafc7255b8e70ccb65. --- host/lib/usrp/mpmd/mpmd_image_loader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/host/lib/usrp/mpmd/mpmd_image_loader.cpp b/host/lib/usrp/mpmd/mpmd_image_loader.cpp index 3dd50b3af..9081a04f4 100644 --- a/host/lib/usrp/mpmd/mpmd_image_loader.cpp +++ b/host/lib/usrp/mpmd/mpmd_image_loader.cpp @@ -208,9 +208,9 @@ static std::string get_fpga_path( std::string type_name = fpga_type.empty() ? "" : "_" + fpga_type; std::string image_path; try { - image_path = find_image_path(base_name + type_name + ".bit"); - } catch (const uhd::io_error&) { image_path = find_image_path(base_name + type_name + ".bin"); + } catch (const uhd::io_error&) { + image_path = find_image_path(base_name + type_name + ".bit"); } return image_path; }