Skip to content

Commit 36aee10

Browse files
Marti BolivarAnas Nashif
Marti Bolivar
authored and
Anas Nashif
committed
scripts: zephyr_flash_debug: simple improvements
Delete an unused import to make flake8 happy. Update the module docstring. Signed-off-by: Marti Bolivar <[email protected]>
1 parent b7e8994 commit 36aee10

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

scripts/support/zephyr_flash_debug.py

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
#! /usr/bin/env python3
22

33
# Copyright (c) 2017 Linaro Limited.
4+
# Copyright (c) 2017 Open Source Foundries Limited.
45
#
56
# SPDX-License-Identifier: Apache-2.0
67

78
"""Zephyr flash/debug script
89
9-
This script is a transparent replacement for legacy Zephyr flash and
10-
debug scripts which have now been removed. It will be refactored over
11-
time as the rest of the build system is taught to use it.
10+
This helper script is the build system's entry point to Zephyr's
11+
"runner" Python package. This package provides ZephyrBinaryRunner,
12+
which is a standard interface for flashing and debugging boards
13+
supported by Zephyr, as well as backend-specific scripts for tools
14+
such as OpenOCD, pyOCD, etc.
1215
"""
1316

14-
from os import path
1517
import sys
1618

1719
from runner.core import ZephyrBinaryRunner, get_env_bool_or

0 commit comments

Comments
 (0)