Allow missing "bootloader_supported" key

pull/7277/head
Jimmy Brisson 2018-06-28 10:36:18 -05:00
parent 2a9923f86e
commit 5795f5326e
1 changed files with 1 additions and 1 deletions

View File

@ -585,7 +585,7 @@ class Config(object):
raise ConfigException("No sector info available")
def _get_cmsis_part(self):
if not self.target.bootloader_supported:
if not getattr(self.target, "bootloader_supported", False):
raise ConfigException("Bootloader not supported on this target.")
if not hasattr(self.target, "device_name"):
raise ConfigException("Bootloader not supported on this target: "