mirror of https://github.com/ARMmbed/mbed-os.git
Use memories passed in when getting memory specs
parent
09cdc0631d
commit
92abbb7599
|
@ -586,8 +586,8 @@ class Config(object):
|
|||
def _get_mem_specs(self, memories, cmsis_part, exception_text):
|
||||
for memory in memories:
|
||||
try:
|
||||
size = cmsis_part['memory']['IRAM1']['size']
|
||||
start = cmsis_part['memory']['IRAM1']['start']
|
||||
size = cmsis_part['memory'][memory]['size']
|
||||
start = cmsis_part['memory'][memory]['start']
|
||||
return (start, size)
|
||||
except KeyError:
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue