Hardware Reference
In-Depth Information
Probably the most important aspect of memory allocation is how much memory
is available to the developer's application programs. The value of
MemFree
is perhaps
the most useful metric for this. When exceeding physical memory limits, the swapping
parameters then become measurements of interest.
Finally, we took a detailed look at how to access the Raspberry Pi peripherals
directly using
mmap(2)
. Until Raspbian Linux gains device drivers for peripherals such as
PWM, the direct access technique will be necessary. Even with driver support, there are
sometimes valid reasons to access the peripheral registers directly.