Skip to content

Add WiFi reset button via GPIO 0 (BOOT button) - #1

Open
matt1394 wants to merge 1 commit into
masterfrom
feature/wifi-reset-button
Open

matt1394 wants to merge 1 commit into
masterfrom
feature/wifi-reset-button

Conversation

@matt1394

Copy link
Copy Markdown
Owner

Summary

  • Adds hold-to-reset WiFi functionality using the built-in BOOT button (GPIO 0)
  • Holding the button for 3 seconds wipes saved credentials and reboots into the captive portal setup AP
  • Releasing before 3 seconds cancels the reset
  • Documents the button in README under Hardware GPIO mapping and a new "Resetting WiFi Credentials" section

Test plan

  • Flash firmware and confirm normal boot is unaffected (brief BOOT button press does nothing)
  • Hold BOOT button for <3 seconds and confirm reset is cancelled (check Serial output)
  • Hold BOOT button for 3+ seconds and confirm device reboots into Rotor-Controller-Setup AP
  • Reconnect to new WiFi via captive portal and confirm normal operation resumes

🤖 Generated with Claude Code

Hold the built-in BOOT button for 3 seconds to wipe saved WiFi
credentials and reboot into the captive portal setup AP.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant