Skip to content

Commit 8dc54f1

Browse files
authored
Merge pull request #8782 from bridadan/fix_test_traceback
Fix traceback when running mbed test
2 parents 00c5b56 + 6cab1e0 commit 8dc54f1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/config/__init__.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ def _generate_bootloader_build(self, rom_start, rom_size):
749749
if start > rom_start + rom_size:
750750
raise ConfigException("Not enough memory on device to fit all "
751751
"application regions")
752-
752+
753753
@staticmethod
754754
def _find_sector(address, sectors):
755755
target_size = -1
@@ -762,13 +762,13 @@ def _find_sector(address, sectors):
762762
if (target_size < 0):
763763
raise ConfigException("No valid sector found")
764764
return target_start, target_size
765-
765+
766766
@staticmethod
767767
def _align_floor(address, sectors):
768768
target_start, target_size = Config._find_sector(address, sectors)
769769
sector_num = (address - target_start) // target_size
770770
return target_start + (sector_num * target_size)
771-
771+
772772
@staticmethod
773773
def _align_ceiling(address, sectors):
774774
target_start, target_size = Config._find_sector(address, sectors)
@@ -778,7 +778,7 @@ def _align_ceiling(address, sectors):
778778
@property
779779
def report(self):
780780
return {'app_config': self.app_config_location,
781-
'library_configs': map(relpath, self.processed_configs.keys())}
781+
'library_configs': list(map(relpath, self.processed_configs.keys()))}
782782

783783
def _generate_linker_overrides(self, rom_start, rom_size):
784784
if self.target.mbed_app_start is not None:

0 commit comments

Comments
 (0)