Skip to content

Commit 5c10375

Browse files
authored
Warns users when deploying with --debug (#715)
1 parent 1474ac5 commit 5c10375

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

deploy.py

+4
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,10 @@ def run(self) -> int:
771771
if self.args.clear_storage:
772772
self.clear_storage()
773773

774+
if "debug_ctap" in self.args.features:
775+
error("The debug feature does not work correctly on this branch. "
776+
"For development and debugging, please use the develop branch.")
777+
774778
# Flashing
775779
if self.args.programmer in ("jlink", "openocd"):
776780
# We rely on Tockloader to do the job

0 commit comments

Comments
 (0)