mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #12476 from OpenNuvoton/nuvoton_build_no_cmsis
Fix build failure when target's cmsis doesn't existpull/12463/head
commit
37aafc9da8
|
@ -798,12 +798,12 @@ class Config(object):
|
|||
start, size = self._get_primary_memory_override(
|
||||
active_memory.lower()
|
||||
)
|
||||
if not start:
|
||||
if start is None:
|
||||
raise ConfigException(
|
||||
"Bootloader not supported on this target. {} "
|
||||
"start not found in targets.json.".format(active_memory)
|
||||
)
|
||||
if not size:
|
||||
if size is None:
|
||||
raise ConfigException(
|
||||
"Bootloader not supported on this target. {} "
|
||||
"size not found in targets.json.".format(active_memory)
|
||||
|
|
Loading…
Reference in New Issue