feat: add ESP32-P4 Rev1 (ECO2) chip support#36
Merged
deadprogram merged 1 commit intotinygo-org:mainfrom Apr 24, 2026
Merged
Conversation
- add ChipESP32P4Rev1 constant, String case, and chipDefs entry - new target_esp32p4_rev1.go with SPI/UART/LP_WDT register values sourced from esptool/targets/esp32p4.py - PostConnect detects USB-JTAG/Serial (sentinel 6 on P4, not 3) and disables LP_WDT + SWD watchdogs - add esp32p4-rev1 stub to tools/update-stubs.go and embed the stub JSON from esp-flasher-stub v0.5.1 - wire up --chip esp32p4-rev1 / esp32-p4-rev1 in the CLI - reserve ChipESP32P4 and --chip esp32p4 for a future production (rev >= 3) target with its own stub Production silicon uses a different UARTDEV_BUF_NO address and the esp32p4.json stub; it will land as a separate target when we have that hardware.
Member
|
Thank you for the addition @jgangemi now merging. |
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.
sourced from esptool/targets/esp32p4.py
disables LP_WDT + SWD watchdogs
JSON from esp-flasher-stub v0.5.1
(rev >= 3) target with its own stub
Production silicon uses a different UARTDEV_BUF_NO address and the
esp32p4.json stub; it will land as a separate target when we have
that hardware.