-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Runtime Flash Clock detection #11903
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Updated source frequency handling for ESP32 and ESP32S3 targets.
Replaced FLASH_SPI0_BASE with DR_REG_SPI0_BASE for clock register access.
Refactor flash frequency functions to use ESP-IDF HAL for better maintainability and chip-specific handling.
Removed isFlashHighPerformanceModeEnabled function declaration.
Removed check for High Performance Mode in chip debug report.
Enhanced the documentation for the getFlashClockDivider function and added handling for modern chips using the SPIMEM structure.
Updated includes for modern ESP32 chips to prioritize newer spi_mem_c_struct.h.
👋 Hello Jason2866, we appreciate your contribution to this project! 📘 Please review the project's Contributions Guide for key guidelines on code, documentation, testing, and more. 🖊️ Please also make sure you have read and signed the Contributor License Agreement for this project. Click to see more instructions ...
Review and merge process you can expect ...
|
Test Results 76 files 76 suites 13m 40s ⏱️ Results for commit 3d1180d. ♻️ This comment has been updated with latest results. |
Memory usage test (comparing PR against master branch)The table below shows the summary of memory usage change (decrease - increase) in bytes and percentage for each target.
Click to expand the detailed deltas report [usage change in BYTES]
|
The PR provides the real flash clock speed and adds the P4/C5 flash chip mode. Fixes the wrong values for C6, H4 and C2
In a follow up PR the magic flash chip routines can be removed and replaced with the real values.
@me-no-dev