Skip to content

edgeimpulse/example-standalone-inferencing-silabs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test Build

Edge Impulse Example: standalone inferencing (Silabs Gecko SDK 4.x)

This builds and runs an exported impulse locally on your machine. See the documentation at Deploy your model as a SLCC component.

Basic steps

  1. Export SLCC component form Studio
  2. Extract content of the exported component into extension directory.
  3. Build project

Building from command line

  1. Install SLC CLI Tools

  2. Install Simplicity Commander

  3. Install Gecko SDK 4.x and configure it in the SLC CLI

  4. 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
    
  5. Compile

    make -f inference-example.Makefile -j
    
  6. Flash

    commander flash build/debug/inference-example.hex
    

Building using Simplicity Studio 5

  1. Install Simplicity Studio 5

  2. Install Gecko SDK 4.x in the Simplicity Studio (Help -> Update Software or Install on the top toolbar)

  3. Click Import projects... in the Project Explorer window

  4. Select MCU Project in the Simplicty Studio group

  5. Choose the location with this repository cloned on your disk and click Next

  6. Ingore error about Device part of the build configuration cannot be resolved and go to Next step

  7. Select target board on Reconstruct Build Configuration stage (eg. BRD2601B). Make sure you have selected Gecko SDK 4.x (4.0.2 or newest) and Toolchain GNU ARM v10.2.1

  8. Choose the location for a new project in your workspace

  9. After importing, remove ei-model form Project Explorer

  10. Confirm removing of the link only

  11. Open inference-example.slcp file

  12. Clik Force Generation in the center panel

  13. After generation is complete, right click on the project file and choose Build Project

  14. Flash the program by right clicking on the project file and select Run As and 1 Silicon Labs ARM Program

License

Appache License v2.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published