Building and running the TFLu application on QEMU
The skeleton of our Zephyr project is ready, so we just need to finalize our application to classify our input test image.
In this recipe, we will see how to build the TFLu application and run the program on the emulated Arm Cortex-M3-based microcontroller.
The following C files contain the code referred to in this recipe:
main.c
,main_functions.cc
, andmain_functions.h:
https://github.com/PacktPublishing/TinyML-Cookbook/blob/main/Chapter07/ZephyrProject/CIFAR10
Getting ready
Most of the ingredients required for developing this recipe are related to TFLu and have already been discussed in earlier chapters, such as Chapter 3, Building a Weather Station with TensorFlow Lite for Microcontrollers, or Chapter 5, Indoor Scene Classification with TensorFlow Lite for Microcontrollers and the Arduino Nano. However, there is one small detail of TFLu that has a big impact on the program memory usage that we haven&apos...