Skip to content

Add RP2 support for dma_capable #10240

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

Merged
merged 1 commit into from
Apr 10, 2025
Merged

Conversation

tannewt
Copy link
Member

@tannewt tannewt commented Apr 8, 2025

This places the VM heap in PSRAM by default. audio_dma now directly allocates its buffers to ensure they are dma_capable.

This places the VM heap in PSRAM by default. audio_dma now directly
allocates its buffers to ensure they are dma_capable.
@tannewt tannewt requested a review from dhalbert April 10, 2025 18:25
@tannewt tannewt marked this pull request as ready for review April 10, 2025 19:03
Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

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

Looks good to me, and was an easier change than I thought. But it will reduce performance on boards with PSRAM -- I wonder by how much. We may need to revisit this in some way.

@tannewt tannewt merged commit b9f631e into adafruit:main Apr 10, 2025
614 checks passed
relic-se added a commit to relic-se/circuitpython that referenced this pull request Apr 21, 2025
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.

2 participants