Skip to content

Commit a098355

Browse files
0xc0170jeromecoutant
authored andcommitted
Revert "tools: regions only if bootloader is supported"
This reverts commit d7e0012.
1 parent 6b89d16 commit a098355

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tools/toolchains/mbed_toolchain.py

100755100644
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -895,10 +895,6 @@ def _add_all_regions(self, region_list, active_region_name):
895895
def add_regions(self):
896896
"""Add regions to the build profile, if there are any.
897897
"""
898-
899-
if not getattr(self.target, "bootloader_supported", False):
900-
return
901-
902898
if self.config.has_regions:
903899
try:
904900
regions = list(self.config.regions)
@@ -948,6 +944,7 @@ def add_regions(self):
948944
ram_available_regions = self.config.get_all_active_memories(
949945
RAM_ALL_MEMORIES
950946
)
947+
951948
for key, value in ram_available_regions.items():
952949
ram_start, ram_size = value
953950
self._add_defines_from_region(

0 commit comments

Comments
 (0)