Skip to content

Commit

Permalink
Warns users when deploying with --debug (#715)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaczmarczyck authored Feb 12, 2025
1 parent 1474ac5 commit 5c10375
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -771,6 +771,10 @@ def run(self) -> int:
if self.args.clear_storage:
self.clear_storage()

if "debug_ctap" in self.args.features:
error("The debug feature does not work correctly on this branch. "
"For development and debugging, please use the develop branch.")

# Flashing
if self.args.programmer in ("jlink", "openocd"):
# We rely on Tockloader to do the job
Expand Down

0 comments on commit 5c10375

Please sign in to comment.