diff --git a/tools/python/mbed_tools/build/_internal/config/config.py b/tools/python/mbed_tools/build/_internal/config/config.py index 7444c9324aa..946bb74a258 100644 --- a/tools/python/mbed_tools/build/_internal/config/config.py +++ b/tools/python/mbed_tools/build/_internal/config/config.py @@ -41,6 +41,11 @@ def _handle_overrides(self, overrides: Iterable[Override]) -> None: _apply_override(self.data, override) continue + # Support override of memory_bank_config in mbed_app.json + if override.namespace == "target" and override.name == "memory_bank_config": + _apply_override(self.data, override) + continue + setting = next( filter( lambda x: x.name == override.name and x.namespace == override.namespace,