mlearning/tflite-micro: enable Makefile hello-world and usable tflm - #3772
Open
Abhishekmishra2808 wants to merge 1 commit into
Open
mlearning/tflite-micro: enable Makefile hello-world and usable tflm#3772Abhishekmishra2808 wants to merge 1 commit into
Abhishekmishra2808 wants to merge 1 commit into
Conversation
Build tflm_hello from Makefile, allocate tensors in tflm, keep syslog strings without debug, and honor CONFIG_DARKNET_YOLO_VER. Assisted-by: Cursor:Grok-4.6 Signed-off-by: Abhishek Mishra <mishra.abhishek2808@gmail.com>
acassis
approved these changes
Sep 5, 2026
Contributor
|
@Abhishekmishra2808 please help to create a google documentation explaining how to test it. |
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
Makefile
tflm_hellowas CMake-only,tflmskippedAllocateTensors()and registered INT8-only ops, syslog stripped TFLM strings unless debug was on, and Darknet ignoredCONFIG_DARKNET_YOLO_VER. This builds hello-world from Makefile, makestflmusable, keeps syslog strings without debug, and fetches Darknet from the Kconfig version.Impact
CONFIG_TFLITEMICRO_HELLOWORLDnow producestflm_hellofor Makefile and CMake.tflmrequires-oonly with-C; operator set is generic (float and quantized).TF_LITE_STRIP_ERROR_STRINGSis not set when syslog is enabled without debug.CONFIG_DARKNET_YOLO_VER.Testing
I confirm that changes are verified on local setup and works as intended:
sim:tflmMakefile build