Arm Keil MDK
Keil Studio for VS Code - with the Edge Impulse SDK pack
Open-CMSIS
Metric | Improvement using Arm Clang v16.9 compiler |
---|---|
DSP Processing Time | 24.25% |
Classification Time | 20.58% |
Open-CMSIS Deploy
EdgeImpulse::EI-SDK
category, and is now available from the Arm Keil Pack Installer.
Arm Keil - Edge Impulse SDK pack
µVision project structure
ei_main.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_main.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_main.cpp
paste the raw features inside the static const float features[]
definition, for example:
ei_standalone.cpp
to run classification on live data.
Standalone Example - µVision IDE
now the project is loaded in µVision IDE
EdgeImpulse::EI-SDK
category, and is now available from the Arm Keil Pack Installer
To import the Edge Impulse SDK pack into Arm Keil µVision, from our examples, follow these steps:
Import Edge Impulse SDK pack - µVision IDE
Project->Reload Software Packs
.EdgeImpulse::Motion_recognition
category and is set to latest version.Import Edge Impulse Project pack - µVision IDE
Project->Select Software Packs for the target
.EdgeImpulse::EI-SDK
category. Update Selection to latest version.EdgeImpulse::Motion_recognition
category. Update Selection to latest version.Project->Manage Run-Time Environment
.Configure the RTE - µVision IDE
Project->Build Target
.Debug->Start/Stop Debug Session
.Import the µVision project to VS Code
Arm Keil Studio IDE - new project
Arm Keil Studio IDE - with the Edge Impulse SDK
DSP 1.15.0 - required packages
NN 4.0.0 - required packages