Machine Learning Support

NuttX machine learning support lives in the apps repository under apps/mlearning. These packages wrap upstream TinyML runtimes and optimized kernels. The build system fetches the selected upstream sources when the corresponding Kconfig option is enabled.

Enable the libraries from:

Application Configuration  --->
  Machine Learning Support  --->

The following packages are available:

CONFIG_CMSIS_NN (nested under CMSIS Libraries) is not the same option as CONFIG_MLEARNING_CMSIS_NN (standalone CMSIS-NN used by TFLM). CMake currently builds tflite-micro and cmsis-nn only.

A ready-to-build simulator configuration is sim:tflm. See SIM. The kernel also has an optional AI-engine character driver (CONFIG_AI_ENGINE); see AI Engine (AIE) Drivers.