Skip to content

Enable USB_MODE to acknowledge RTS/DTR reset signal from esptool for heltec-v4#8881

Merged
thebentern merged 20 commits into
meshtastic:developfrom
h3lix1:fix_lora_v4_boot_on_upgrade
Dec 7, 2025
Merged

Enable USB_MODE to acknowledge RTS/DTR reset signal from esptool for heltec-v4#8881
thebentern merged 20 commits into
meshtastic:developfrom
h3lix1:fix_lora_v4_boot_on_upgrade

Conversation

@h3lix1

@h3lix1 h3lix1 commented Dec 7, 2025

Copy link
Copy Markdown
Contributor

Change ARDUINO_USB_MODE from 0 to 1 in the board definition. This switches to the ESP32-S3's Hardware CDC and JTAG mode, which properly handles the reset signals for automatic reboot after firmware updates.

Other boards in this codebase (like t-deck-pro, seeed-sensecap-indicator, wiscore_rak3312) already use ARDUINO_USB_MODE=1.

🤝 Attestations

  • I have tested that my proposed changes behave as described.
  • I have tested that my proposed changes do not cause any obvious regressions on the following devices:
    • Heltec (Lora32) V3
    • LilyGo T-Deck
    • LilyGo T-Beam
    • RAK WisBlock 4631
    • Seeed Studio T-1000E tracker card
    • Other (please specify below)
      Heltec (Lora32) V4

h3lix1 and others added 20 commits September 25, 2025 18:29
…tches to the ESP32-S3's Hardware CDC and JTAG mode, which properly handles the reset signals for automatic reboot after firmware updates.
@h3lix1 h3lix1 changed the title Enable USB_MODE to acknowledge RTS/DTR reset signal from esptool Enable USB_MODE to acknowledge RTS/DTR reset signal from esptool for heltec-v4 Dec 7, 2025
@h3lix1

h3lix1 commented Dec 7, 2025

Copy link
Copy Markdown
Contributor Author

It also makes for firmware upgrades to not require manual intervention to put it into FW upgrade mode.

@thebentern thebentern merged commit 2a17c3b into meshtastic:develop Dec 7, 2025
75 checks passed
jeek pushed a commit to jeek/Meshtastic-Exploiteers-Hacker-Pager that referenced this pull request Jun 30, 2026
…tches to the ESP32-S3's Hardware CDC and JTAG mode, which properly handles the reset signals for automatic reboot after firmware updates. (meshtastic#8881)
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.

2 participants