From 197f2f11e01f8ee7f2ab4406f78b04aa8d1ad6a4 Mon Sep 17 00:00:00 2001 From: calinschurig <92351885+calinschurig@users.noreply.github.com> Date: Fri, 25 Jul 2025 13:04:11 -0600 Subject: [PATCH] Update xplmi_bsp_config.h.in PLM_PRINT_LEVEL0 is mismatched between xilplmi.cmake and xplmi_bsp_config.h.in. Prior to this patch, it is called PLM_PRINT_LEVEL0 in xilplmi.cmake, but PLM_PRINT_LEVEL_0 in xplmi_bsp_config.h.in. Notice the extra '_' between LEVEL and 0. This fixes a bug where setting XILPLMI_plm_dbg_lvl to "level0" in the library configuration has no effect. --- lib/sw_services/xilplmi/src/xplmi_bsp_config.h.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/sw_services/xilplmi/src/xplmi_bsp_config.h.in b/lib/sw_services/xilplmi/src/xplmi_bsp_config.h.in index fce613f8e32..8ea811a15c2 100644 --- a/lib/sw_services/xilplmi/src/xplmi_bsp_config.h.in +++ b/lib/sw_services/xilplmi/src/xplmi_bsp_config.h.in @@ -9,8 +9,8 @@ #cmakedefine PLM_PRINT_NO_UART #cmakedefine PLM_SEM_PRINT_OVERRIDE -#cmakedefine PLM_PRINT_LEVEL_0 -#if ((((defined(XSEM_CFRSCAN_EN)) || (defined(XSEM_NPISCAN_EN))) && (defined(PLM_SEM_PRINT_OVERRIDE))) || (defined(PLM_PRINT_LEVEL_0))) +#cmakedefine PLM_PRINT_LEVEL0 +#if ((((defined(XSEM_CFRSCAN_EN)) || (defined(XSEM_NPISCAN_EN))) && (defined(PLM_SEM_PRINT_OVERRIDE))) || (defined(PLM_PRINT_LEVEL0))) #define PLM_PRINT #else #cmakedefine PLM_DEBUG