mirror of https://github.com/ARMmbed/mbed-os.git
Revert "tools: regions only if bootloader is supported"
This reverts commit d7e0012bc7
pull/12228/head
parent
dc6320239b
commit
5a69764ccd
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue