apps_mlearning_tflite-micro/codegen/examples/hello_world
RJ Ascani b074c64fc0 codegen: Remove make helpers for codegen (#2378)
This partially reverts commit 1e9b4c5d84. The make helpers for running the inference code generator were somewhat of a hack due to the desire to integrate a target-specific preprocessor binary as part of the process. Since that is no longer necessary, we can now switch over to just using Bazel for running the code generator.

BUG=b/294230402
2026-04-20 14:47:58 +08:00
..
BUILD Add dep for codegen build (#2385) 2026-04-20 14:47:58 +08:00
README.md codegen: Remove make helpers for codegen (#2378) 2026-04-20 14:47:58 +08:00
hello_world.cc codegen: Add Bazel macro for inference library (#2366) 2026-04-20 14:47:57 +08:00
hello_world_model.cc Automated sync from github.com/tensorflow/tensorflow (#2221) 2023-09-14 23:18:01 +00:00
hello_world_model.h Implement MicroContext/Graph for codegen (#2218) 2023-09-12 22:28:30 +00:00
update_example_source.sh codegen: Add Bazel macro for inference library (#2366) 2026-04-20 14:47:57 +08:00

README.md

Codegen Hello World Example

This is a code-generated example of the hello world model. The generated source is checked in for now so that it can be reviewed during the prototyping stage.

Building the example executable

Please note that this will execute Bazel from make as part of the process.

bazel build //codegen/examples/hello_world:hello_world

Running the example

TODO(rjascani): The command works, but it'll just crash as we don't have all of the data structures fully populated yet.

bazel run //codegen/examples/hello_world:hello_world

Updating the generated sources

To update the generated source, you can execute this make target:

./codegen/examples/hello_world/update_example_source.sh