Note

This is the documentation for the latest development branch and may refer to features that are not available in released versions. If you are looking for the documentation for a specific release, use the drop-down menu on the left and select the desired version.

MMZ Demo#

Overview#

This sample demonstrates common MMZ memory-management flows.

Source Location#

src/rtsmart/examples/mpp/sample_mmz

Build Method#

Enable Enable Build sample_mmz in make menuconfig, then rebuild the firmware.

Run Example#

cd /sdcard/app/examples/mpp
./sample_mmz.elf

Notes#

The sample covers:

  • allocate cached and non-cached MMZ memory

  • release MMZ memory

  • query physical information from a virtual address

  • flush cache

It prints sample mmz test success on success, or an error summary if a step fails.

Comments list
Comments
Log in