Skip to content

fix: hard reset via RTS pin after flashing firmware#437

Merged
daveallie merged 5 commits intocrosspoint-reader:masterfrom
osteotek:fix-reset-after-flash
Jan 21, 2026
Merged

fix: hard reset via RTS pin after flashing firmware#437
daveallie merged 5 commits intocrosspoint-reader:masterfrom
osteotek:fix-reset-after-flash

Conversation

@osteotek
Copy link
Member

Summary

  • Disables going to sleep after uploading new firmware
  • Makes developer experience easier

AI Usage

While CrossPoint doesn't have restrictions on AI tools in contributing, please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? < NO >

Copilot AI review requested due to automatic review settings January 19, 2026 23:32
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to improve the developer experience by preventing the device from going to sleep after flashing new firmware. The device currently requires a long power button press to wake from sleep, which is inconvenient after flashing.

Changes:

  • Adds detection for post-flash reset using USB connection status and ESP reset/wakeup states
  • Skips long-press verification when waking up after flashing firmware
  • Adds a timeout when initializing Serial to catch early logs

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@daveallie daveallie merged commit 8389932 into crosspoint-reader:master Jan 21, 2026
1 check passed
jdk2pq added a commit to jdk2pq/crosspoint-reader that referenced this pull request Jan 23, 2026
* master:
  chore: Cut release 0.15.0
  fix: OPDS browser OOM (crosspoint-reader#403)
  docs: Add detailed webserver documentation (crosspoint-reader#446)
  feat: invalidate cache on web uploads and opds downloads and add Clear Cache action (crosspoint-reader#393)
  fix: hard reset via RTS pin after flashing firmware (crosspoint-reader#437)
  fix: Skip negative screen coordinates only after we read the bitmap row. (crosspoint-reader#431)
  Reclaim space if we don't show battery Percentage (crosspoint-reader#352)
  feat: Include superscripts and subscripts in fonts (crosspoint-reader#463)
  My Library: Tab bar w/ Recent Books + File Browser (crosspoint-reader#250)
  feat: adding categories to settings screen (crosspoint-reader#331)
yingirene pushed a commit to yingirene/crosspoint-reader that referenced this pull request Jan 25, 2026
…r#437)

## Summary

* Disables going to sleep after uploading new firmware
* Makes developer experience easier

---

### AI Usage

While CrossPoint doesn't have restrictions on AI tools in contributing,
please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? _**< NO >**_

---------

Co-authored-by: Copilot <[email protected]>
Unintendedsideeffects pushed a commit to Unintendedsideeffects/crosspoint-reader that referenced this pull request Feb 17, 2026
…r#437)

## Summary

* Disables going to sleep after uploading new firmware
* Makes developer experience easier

---

### AI Usage

While CrossPoint doesn't have restrictions on AI tools in contributing,
please be transparent about their usage as it
helps set the right context for reviewers.

Did you use AI tools to help write this code? _**< NO >**_

---------

Co-authored-by: Copilot <[email protected]>
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.

3 participants