Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit 2ff1ae3

Browse files
2 parents 468c846 + e62c255 commit 2ff1ae3

File tree

1 file changed

+5
-17
lines changed

1 file changed

+5
-17
lines changed

README.md

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,13 @@ The arduino-cli tool is used to build and upload the Edge Impulse firmware to th
1010
* [Arduino CLI](https://arduino.github.io/arduino-cli/installation/).
1111

1212

13-
## Building the application
14-
The Edge Impulse firmware depends on libraries and the samd core for Arduino. Running the following script will install all the dependencies for you:
13+
## Building and flashing the firmware
1514

1615
```shell
1716

18-
cd ~/Arduino/libraries/
19-
git clone https://github.com/Seeed-Studio/Seeed_Arduino_FreeRTOS
20-
git clone https://github.com/Seeed-Studio/Seeed_Arduino_ooFreeRTOS
21-
git clone https://github.com/Seeed-Studio/Seeed_Arduino_LIS3DHTR
22-
git clone https://github.com/Seeed-Studio/Seeed_Arduino_mbedtls -b edge-impulse
23-
git clone https://github.com/Seeed-Studio/Seeed_Arduino_MultiGas
24-
git clone https://github.com/Seeed-Studio/Seeed_Arduino_SFUD
25-
git clone https://github.com/Seeed-Studio/Grove_BME280
26-
git clone https://github.com/Seeed-Studio/Seeed_Arduino_DPS310
27-
git clone https://github.com/Seeed-Studio/Seeed_SCD30
28-
git clone https://github.com/Seeed-Studio/Grove_6Axis_Accelerometer_And_Gyroscope_BMI088
29-
git clone https://github.com/Seeed-Studio/Seeed_Arduino_UltrasonicRanger
30-
git clone https://github.com/Seeed-Studio/Seeed_Arduino_TFlidar
31-
git clone https://github.com/Seeed-Studio/Seeed_Arduino_edgeimpulse
32-
cd Seeed_Arduino_edgeimpulse
17+
git submodule update --init --recursive -j 8
18+
./arduino-cli config init
19+
./arduino-cli config set directories.user ./user #that will set your user directory for Arduino CLI to user folder in current directory - change back after you finish building
3320
./arduino-build.sh --build
21+
arduino-cli upload --fqbn=Seeeduino:samd:seeed_wio_terminal -p /dev/ttyACM0 -i build/*.bin
3422
```

0 commit comments

Comments
 (0)