add more information when config file not found
This commit is contained in:
parent
9cd262ed57
commit
57a2f84880
|
@ -205,7 +205,7 @@ class BaseEflashLoader(object):
|
||||||
self.cfg = BFConfigParser()
|
self.cfg = BFConfigParser()
|
||||||
self.cfg.read(self.config_file)
|
self.cfg.read(self.config_file)
|
||||||
else:
|
else:
|
||||||
printf('Config file not found')
|
printf('Config file "' + self.config_file + '" not found')
|
||||||
self.error_code_print('000B')
|
self.error_code_print('000B')
|
||||||
return (False, 0)
|
return (False, 0)
|
||||||
if self.interface == 'openocd':
|
if self.interface == 'openocd':
|
||||||
|
|
Loading…
Reference in New Issue
Block a user