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:
cmsis CMSIS Libraries — ARM CMSIS 5 DSP and NN libraries (Makefile only)
cmsis-nn CMSIS-NN Library — standalone ARM CMSIS-NN kernels for TensorFlow Lite Micro
darknet YOLO: Real-Time Object Detection — Darknet YOLO object detection (Makefile only)
libnnablart NNABLA Runtime Libraries — Sony NNABLA C inference runtime (Makefile only)
tflite-micro TensorFlow Lite Micro — TensorFlow Lite for Microcontrollers
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.