Best way to implement dynamic memory allocation for DMA transfers #93375
Unanswered
danieldanino17
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm new to Zephyr and I'm trying to figure out the best way to implement dynamic memory allocation for DMA transfers.
I've seen that Zephyr offers several ways to allocate memory dynamically, but it's a bit overwhelming and I'm not sure which approach is suitable for DMA.
All the DMA examples I’ve come across use statically allocated arrays, and I haven’t found any that demonstrate dynamic memory allocation.
I'm interested in how to handle both contiguous and scatter-gather memory allocations for DMA. Any guidance or examples would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions