Repository navigation
Preserve internal DMA memory and improve CoreS3 camera startup - #13
Merged
Merged
Conversation
Move the 7 KiB LVGL task stack to PSRAM and require external stack support in the CoreS3 board profile. Limit the project DVP DMA setting to 8192 bytes and log DMA free memory and the largest contiguous block at startup. Extend host fault injection for stack allocation, readiness timeout, retryable cleanup, repeated attachment and pending display DMA callbacks. Update the memory documentation and validation matrix. Validation: CoreS3 video zh-CN and en-US ESP-IDF v5.5.2 builds and size checks; CoreS3 and ST7789 host tests with UBSan; formatting, SPDX and whitespace checks. ASan was unavailable because the host runtime crashed even for a minimal program. A user-provided device log confirms DVP initialization and stream startup with an 11776-byte largest DMA block. Frame upload and repeated lifecycle and audio/UI regressions still require real-device validation.
fix(cores3): preserve internal DMA memory for camera startup
Move the CoreS3 LVGL task stack to PSRAM, reduce the video DMA buffer allocation, and add startup diagnostics for internal DMA memory.
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.
Problem
Describe the user-visible or engineering problem.
Changes
Describe the implementation and compatibility impact.
Validation