Revert "tools: regions only if bootloader is supported"

This reverts commit d7e0012bc7
pull/12228/head
jeromecoutant 2020-01-13 10:42:22 +01:00
parent dc6320239b
commit 5a69764ccd
1 changed files with 0 additions and 4 deletions

View File

@ -895,10 +895,6 @@ class mbedToolchain(with_metaclass(ABCMeta, object)):
def add_regions(self): def add_regions(self):
"""Add regions to the build profile, if there are any. """Add regions to the build profile, if there are any.
""" """
if not getattr(self.target, "bootloader_supported", False):
return
if self.config.has_regions: if self.config.has_regions:
try: try:
regions = list(self.config.regions) regions = list(self.config.regions)