Error with generated Edge AI code
The examples/code snippets found in the ST Edge AI Core Technology Documentation (ST Edge AI Core Technology 2.2.0) show a variety of functions/macros used that don't seem to get generated via STM32CubeMX on my end.
For reference, I generated the code for CMake, with version 10.2.0 of X-Cube-AI and 6.13.0 of STM32CubeMX.
A couple examples from the legacy client -> new edge ai embedded client migration guide:
- #include "network_inputs.h" - No such file <model_name>_inputs.h seems to get generated via CubeMX.
- STAI_NETWORK_CONTEXT_DECLARE - this macro is undeclared in the generated code.
- stai_network_init() - I get an implicit declaration of function warning for this one (cannot find this declared/defined anywhere in the generated code).
- STAI_NETWORK_ACTIVATIONS_NUM - also undeclared in generated code.
Is this specific to the code generated for CMake? Are there perhaps other header files I should be looking to include aside form the ones noted in the examples?
EDIT: Confirmed that these issues are also still present with the code generated for STM32CubeIDE, so issues seem to be platform agnostic.
