From 5a69764ccdfa6ff42e1cf41482feb129dfc787e4 Mon Sep 17 00:00:00 2001 From: jeromecoutant Date: Mon, 13 Jan 2020 10:42:22 +0100 Subject: [PATCH] Revert "tools: regions only if bootloader is supported" This reverts commit d7e0012bc79d1e94f9e10be5367de2341d25900e --- tools/toolchains/mbed_toolchain.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tools/toolchains/mbed_toolchain.py b/tools/toolchains/mbed_toolchain.py index 12d6f97669..5dafb42775 100755 --- a/tools/toolchains/mbed_toolchain.py +++ b/tools/toolchains/mbed_toolchain.py @@ -895,10 +895,6 @@ class mbedToolchain(with_metaclass(ABCMeta, object)): def add_regions(self): """Add regions to the build profile, if there are any. """ - - if not getattr(self.target, "bootloader_supported", False): - return - if self.config.has_regions: try: regions = list(self.config.regions)