From 52c92159cd1215494035835e42ba9faaffcbe421 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Thu, 2 May 2024 14:22:17 +0200 Subject: [PATCH] scripts: More explicit error in west_commands for NRF flashing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Instead of suggesting a python dep is missing, tell the user intelhex is missing. Signed-off-by: Félix Piédallu --- scripts/west_commands/runners/nrf_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/west_commands/runners/nrf_common.py b/scripts/west_commands/runners/nrf_common.py index a1832377db5..55789722deb 100644 --- a/scripts/west_commands/runners/nrf_common.py +++ b/scripts/west_commands/runners/nrf_common.py @@ -443,7 +443,7 @@ class NrfBinaryRunner(ZephyrBinaryRunner): self.ensure_output('hex') if IntelHex is None: - raise RuntimeError('one or more Python dependencies were missing; ' + raise RuntimeError('Python dependency intelhex was missing; ' 'see the getting started guide for details on ' 'how to fix') self.hex_contents = IntelHex()