- Clone this repo.
- Follow QuickStart instructions here: https://github.com/nigelb/platform-apollo3blue#quick-start to install Sparkfun's Arduino framework for PlatformIO.
Note: This repo was compiled with V2.2.0 of Sparkfun's Apollo3 library. - Initialize PlatformIO project.
cd redboard-tflite
platformio init --board SparkFun_RedBoard_Artemis
- Add
upload_speed = 230400
toplatformio.ini
file. - Compile code:
platformio run -v
- Upload binary to board:
platformio run -t upload -v
- Downloaded library here: https://www.ardu-badge.com/Arduino_TensorFlowLite/zip
- Fixed comparisons.h file according to this post: https://forum.sparkfun.com/viewtopic.php?t=55301
- Added library.json file to lib/ folder: https://github.com/maxgerhardt/pio-nano33ble-microspeech-example/blob/master/lib/Arduino_TensorFlowLite/library.json