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.

MPP Log Demo#

Introduction#

This example demonstrates the basic usage of the MPP log interface, including:

  • Setting the module log level

  • Reading the module log level

  • Setting the log read wait strategy

  • Reading the log buffer

Code Location#

  • src/rtsmart/examples/mpp/sample_log

Build Method#

Enable the following in make menuconfig:

  • RT-Smart UserSpace Examples Configuration

  • Enable MPP examples

  • Enable Build sample_log

Then execute firmware compilation.

Run Example#

cd /sdcard/app/examples/mpp
./sample_log.elf
Comments list
Comments
Log in