diff --git a/scripts/west_commands/runners/core.py b/scripts/west_commands/runners/core.py index 45e5730f714af6..d216dffcd18e60 100644 --- a/scripts/west_commands/runners/core.py +++ b/scripts/west_commands/runners/core.py @@ -777,7 +777,7 @@ def require(program: str, path: Optional[str] = None) -> str: raise MissingProgram(program) return ret - def get_rtt_address(self) -> int | None: + def get_rtt_address(self) -> Optional[int]: '''Helper method for extracting a the RTT control block address. If args.rtt_address was supplied, returns that.