.ipcf
). IAR Embedded Workbench updates the project dynamically if this file is changed.
Project->Add Project Connection->IAR Project Connection
.edge-impuse-sdk
folder. Multiple instances of the CMSIS library can exist in a single project, but be sure the edge-impulse-sdk
references and links to the included CMSIS library. Safest way would be either to disable CMSIS in your project, or to build the model and inference code as a library and link to that library in your main project.
IAR Disable CMSIS
edge-impulse-sdk
requires the C++ compiler. Check your project settings matches the following image:
IAR Compiler config
ei_standalone.cpp
. In this minimal code example, inference is run from a static buffer of input feature data. To verify that our embedded model achieves the exact same results as the model trained in Studio, we want to copy the same input features from Studio into the static buffer in ei_standalone.cpp
.
To do this, first head back to the studio and click on the Live classification tab. Then load a validation sample, and click on a row under ‘Detailed result’.
Selecting the row with timestamp '320' under 'Detailed result'.
Copying the raw features.
ei_standalone.cpp
paste the raw features inside the static const float features[]
definition, for example:
ei_standalone.cpp
to run classification on live data.