feat: add LP_WDT PostConnect for ESP32-C6, H2, and C5#28
Merged
deadprogram merged 3 commits intotinygo-org:mainfrom Apr 13, 2026
Merged
feat: add LP_WDT PostConnect for ESP32-C6, H2, and C5#28deadprogram merged 3 commits intotinygo-org:mainfrom
deadprogram merged 3 commits intotinygo-org:mainfrom
Conversation
- detect USB-JTAG/Serial via ROM .bss at 0x4087F580 - shared disableWatchdogsLP helper for LP domain chips (C6, H2, C5) - disable LP_WDT and enable SWD auto-feed when USB-JTAG active - comprehensive unit tests for USB-JTAG, UART, and secure mode paths
- detect USB-JTAG/Serial via ROM .bss at 0x4084FEFC - reuse shared disableWatchdogsLP helper with H2-specific register offsets
- detect USB-JTAG/Serial via ROM .bss at 0x4085F514 - reuse shared disableWatchdogsLP helper (same register offsets as C6)
Member
|
And I think that completes the set, thank you very much @jgangemi now merging. |
Contributor
Author
|
welcome, happy to be of assistance! any idea when you might cut a new release? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds PostConnect for ESP32-C6, ESP32-H2, and ESP32-C5 with shared LP_WDT (Low Power watchdog) disable. These RISC-V chips share the same LP domain watchdog protocol with chip-specific register addresses. Includes a shared disableWatchdogsLP helper in watchdog.go.