Skip to content

Commit 5795f53

Browse files
committed
Allow missing "bootloader_supported" key
1 parent 2a9923f commit 5795f53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/config/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ def sectors(self):
585585
raise ConfigException("No sector info available")
586586

587587
def _get_cmsis_part(self):
588-
if not self.target.bootloader_supported:
588+
if not getattr(self.target, "bootloader_supported", False):
589589
raise ConfigException("Bootloader not supported on this target.")
590590
if not hasattr(self.target, "device_name"):
591591
raise ConfigException("Bootloader not supported on this target: "

0 commit comments

Comments
 (0)