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#

Introduction#

This example demonstrates the common flow of the MMZ memory management interface:

  • Allocate MMZ memory (cached/non-cached)

  • Free MMZ memory

  • Query physical information by virtual address

  • Cache flush

Code Location#

  • src/rtsmart/examples/mpp/sample_mmz

Compilation Method#

Enable the following in make menuconfig:

  • RT-Smart UserSpace Examples Configuration

  • Enable MPP examples

  • Enable Build sample_mmz

Then execute the firmware compilation.

Running the Example#

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

Description#

After the example finishes running, it will print sample mmz test success or failure information, making it easy to quickly locate issues in the MMZ call chain.

Comments list
Comments
Log in