https://github.com/edgeimpulse/firmware-syntiant-tinyml
Edge Impulse firmware for Syntiant TinyML board
https://github.com/edgeimpulse/firmware-syntiant-tinyml
Last synced: 11 months ago
JSON representation
Edge Impulse firmware for Syntiant TinyML board
- Host: GitHub
- URL: https://github.com/edgeimpulse/firmware-syntiant-tinyml
- Owner: edgeimpulse
- License: other
- Created: 2021-10-29T16:44:11.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-12T12:39:10.000Z (almost 2 years ago)
- Last Synced: 2024-09-13T00:13:30.499Z (almost 2 years ago)
- Language: C
- Size: 537 KB
- Stars: 20
- Watchers: 16
- Forks: 8
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Config build and flash
This project uses the `arduino-cli` compiler to build & flash new firmware. Windows users also need Arduino IDE (tested with v1.8.15).
### Usage - macOS and Linux
The script will verify if all needed libraries and the samd core is installed and install them if needed. If you prefer to do this
step manually, follow the step in the next chapter.
For building the project:
* For audio support, use:
```
./arduino-build.sh --build
```
* For IMU sensor support, use:
```
./arduino-build.sh --build --with-imu
```
For flashing use:
```
./arduino-build.sh --flash
```
You can also do both by using:
```
./arduino-build.sh --all [--with-imu]
```
### Usage - Windows
* Run `update_libraries_windows.bat` script to install Arduino libraries.
For building the project:
* For audio support, use:
```
./arduino-win-build.bat --build
```
* For IMU sensor support, use:
```
./arduino-win-build.bat --build --with-imu
```
For flashing use, put the board in boot mode (double click on the reset button when connecting the board to USB, while the orange LED is blinking. In boot mode you should see the red LED fading on and off):
```
./arduino-win-build.bat --flash
```
You can also do both by using:
```
./arduino-win-build.bat --all [--with-imu]
```
## Setup Manually
* Install Board package SAMD v1.8.9
* Install following libraries using Arduino Library manager (use exact versions):
* avdweb_SAMDtimer@1.0.0
* Adafruit ZeroTimer Library@1.0.1
* Adafruit BusIO@1.8.2
* Adafruit GFX Library@1.10.10
* Adafruit SSD1306@2.4.6
* nicohood/HID-Project@2.6.1
* SdFat@2.0.6
* Install the following libraries as a Zip library:
* lib/Adafruit_ASFcore
* lib/PMIC_SGM41512
* lib/AudioUSB
* lib/NDP
* lib/NDP_utils
* lib/SerialFlash
* lib/syntiant_ilib
* Patch the _Arduino USBCore driver_: copy `lib/Arduino USBCore driver/USBCore.cpp` in SAMD package folder (ie: /Users/[USER]/Library/Arduino15/packages/arduino/hardware/samd/1.8.9/cores/arduino/USB/)