Documentation,drivers/aie: align machine learning docs with current code - #20194
Merged
Merged
Conversation
The tflm tool registered DEPTHWISE_CONV_2D in nuttx-apps#3773, but the docs still listed eight operators. Document the unused -C compile path, that the sim helper uses heap I/O, and the pinned TFLM/CMSIS/NNABLA versions. Add missing gemmlowp, KissFFT, Ruy, and FlatBuffers pages, document the AI-engine character driver, and wire it into CMake. Signed-off-by: Abhishek Mishra <mishra.abhishek2808@gmail.com>
Abhishekmishra2808
requested review from
Donny9,
btashton,
michallenc,
raiden00pl and
xiaoxiang781216
as code owners
September 19, 2026 13:20
acassis
reviewed
Sep 19, 2026
xiaoxiang781216
approved these changes
Sep 19, 2026
acassis
approved these changes
Sep 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tflm_tool.cc registers nine operators including DEPTHWISE_CONV_2D, but the docs still said eight. The same page described tflm -C as a real compile path even though NuttX never defines TFLITE_MODEL_COMPILER, and it mixed the on-target no-heap TFLM model with the sim helper that uses ifstream / new.
This change also records the pinned TFLM / CMSIS / CMSIS-NN / NNABLA / Darknet versions, notes that CMSIS 5 is archived and that CMake only builds tflite-micro and cmsis-nn, adds the missing gemmlowp / KissFFT / Ruy / FlatBuffers pages, documents the kernel AI-engine character driver, adds drivers/aie to CMake, and fixes the aie_register() header comment plus SPDX.
No nuttx-apps change. Depends on current apache/nuttx-apps master (DEPTHWISE already merged).
Impact
Docs-only for applications and drivers, plus a small unused-driver build fix:
Testing
Host: Linux WSL2 x86_64, gcc 13.3.0, Python 3.11.9, Sphinx 6.2.1
Target: docs + style only (no board image)