Skip to content

Technica-Corporation/ProtoNN-esp32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ProtoNN-esp32

esp-idf project to run EdgeML ProtoNNPredict on the ESP32

Dependencies

Building requires the following to be installed:

Configure

  • Comment out COMMON_WARNING_FLAGS in esp-idf/make/project.mk
  • EdgeML code base fails many of the warning set here. It was quicker to disable these checks than to completely rewrite the EdgeML codebase. Make sure to revert these changes after working with this project

Build, Flash and Monitor

make flash monitor

Adding model and test dataset to device

  • Run ProtoNNTrainer on separate device to generate model and params
  • Move model and params to single flat folder
  • create spiffs image using mkspiffs tool https://github.com/igrr/mkspiffs.
    • Make sure mkspiffs settings match esp-idf setting for spiffs
    • shuttle/ contains model, params, and a test files for Statlog shuttle dataset ready to be used with mkspiffs
mkspiffs -c shuttle/ -b 4096 -p 256 -s 0x100000 spiffs.bin

python esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 115200 write_flash -z 0x110000 spiffs.bin

About

esp-idf project to run EdgeML ProtoNNPredict on the ESP32

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published