Quantcast
Viewing all articles
Browse latest Browse all 5103

C/C++ • Re: Allocate memory for DMA on Raspberry Pi 5

yes, I use mmap.
Do I understand correctly that the Raspi then has less RAM and the unused area of ​​memory is then used for DMA?
But how do I get the right address region?

Kernel driver:
yes, I read that too, that the kernel provides the function for this. Is there perhaps a simple example for this? I would like to try both versions

Statistics: Posted by drLaplace — Fri Nov 15, 2024 10:57 am



Viewing all articles
Browse latest Browse all 5103

Trending Articles