From f3274d2350c53c18fbe0aa404a054359c2ed3f51 Mon Sep 17 00:00:00 2001 From: JohnK1987 Date: Sun, 24 Nov 2024 19:26:27 +0100 Subject: [PATCH] Update cmsis_mcu_descr.py - fix --- tools/python/mbed_tools/cli/cmsis_mcu_descr.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/python/mbed_tools/cli/cmsis_mcu_descr.py b/tools/python/mbed_tools/cli/cmsis_mcu_descr.py index 6733581e9fb..845f6d9d6be 100644 --- a/tools/python/mbed_tools/cli/cmsis_mcu_descr.py +++ b/tools/python/mbed_tools/cli/cmsis_mcu_descr.py @@ -234,8 +234,8 @@ def fetch_missing(): f"to be added manually?") missing_mcus_dict[mcu] = cmsis_cache.index[mcu] - LOGGER.info(f"In case of Custom target remove 'device_name' from your custom_targets.json5 file and add\n" + + LOGGER.info("In case of Custom target remove 'device_name' from your custom_targets.json5 file and add\n" + "just the 'memories' section as 'memory_banks' section from content below.\n" + - "Otherwise add the whole following entries to {CMSIS_MCU_DESCRIPTIONS_JSON_PATH}:") + f"Otherwise add the whole following entries to {CMSIS_MCU_DESCRIPTIONS_JSON_PATH}:") print(json.dumps(missing_mcus_dict, indent=4, sort_keys=True)) sys.exit(1)