summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-08-30 09:52:41 +0200
committerxengineering <me@xengineering.eu>2024-08-30 09:52:41 +0200
commit0820760bc556ddef7af5c7cd75565abbd3102698 (patch)
treef1317d3d9adfddbfda12afb3267b36bf88b9f163
parent3b976f78160c3acca82fc2da53207cd85b548cdd (diff)
downloadiot-contact-debug-network-issue.tar
iot-contact-debug-network-issue.tar.zst
iot-contact-debug-network-issue.zip
firmware: Add default IP for debug-network-issue.pydebug-network-issue
That way the script works without any command line options which is convenient. The selected IP is the default IPv4 address used by Zephyr.
-rwxr-xr-xfirmware/tools/debug-network-issue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/tools/debug-network-issue.py b/firmware/tools/debug-network-issue.py
index e89f0ce..9f70519 100755
--- a/firmware/tools/debug-network-issue.py
+++ b/firmware/tools/debug-network-issue.py
@@ -61,7 +61,7 @@ def parse_args():
parser.add_argument(
"-a",
"--address",
- required=True,
+ default="192.0.2.1",
help="address of the microcontroller / target of ICMP request",
type=str,
)