From d8f878699427294ed5d87b675c83df174d323d20 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Sat, 22 Apr 2023 14:31:00 -0700 Subject: [PATCH] be more explicit when flash configuration is missing --- libs/base/bflb_base_eflash_loader.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/base/bflb_base_eflash_loader.py b/libs/base/bflb_base_eflash_loader.py index 362d628..fecc314 100644 --- a/libs/base/bflb_base_eflash_loader.py +++ b/libs/base/bflb_base_eflash_loader.py @@ -1228,6 +1228,8 @@ class BaseEflashLoader(object): cfg_dir = app_path + '/utils/flash/' + self.chip_type + '/' conf_name = self.get_suitable_conf_name(cfg_dir, flash_id) if os.path.isfile(cfg_dir + conf_name) is False: + printf('ERROR: Could not find flash configuration for chip') + printf('File must be at: %s' % cfg_dir + conf_name) return False return True