This builds and runs an exported impulse locally on your machine. See the documentation at Deploy your model as a SLCC component.
- Export SLCC component form Studio
- Extract content of the exported component into
extension
directory. - Build project
-
Install SLC CLI Tools
-
Install Simplicity Commander
-
Install Gecko SDK 4.x and configure it in the SLC CLI
-
Generate Makefile for your board (for example BRD2601B - EFR32xG24 Dev Kit)
slc generate inference-example.slcp -cp -np --toolchain=gcc --output-type=makefile --with=brd2601b
-
Compile
make -f inference-example.Makefile -j
-
Flash
commander flash build/debug/inference-example.hex
-
Install Simplicity Studio 5
-
Install Gecko SDK 4.x in the Simplicity Studio (
Help -> Update Software
orInstall
on the top toolbar) -
Click
Import projects...
in theProject Explorer
window -
Select
MCU Project
in theSimplicty Studio
group -
Choose the location with this repository cloned on your disk and click
Next
-
Ingore error about
Device part of the build configuration cannot be resolved
and go toNext
step -
Select target board on
Reconstruct Build Configuration
stage (eg.BRD2601B
). Make sure you have selectedGecko SDK 4.x
(4.0.2 or newest) and ToolchainGNU ARM v10.2.1
-
Choose the location for a new project in your workspace
-
After importing, remove
ei-model
formProject Explorer
-
Confirm removing of the link only
-
Open
inference-example.slcp
file -
Clik
Force Generation
in the center panel -
After generation is complete, right click on the project file and choose
Build Project
-
Flash the program by right clicking on the project file and select
Run As
and1 Silicon Labs ARM Program