Skip to content

armgit / flix

Public Imported from GitHub
0

Making an ESP32-based quadcopter from scratch

Install arduino-cli to /usr/local/bin The Arduino docs probably has mistake offering non-existent ~/local/bin path instead of ~/.local/bin. Some systems lack ~/.local/bin as well, so simply use /usr/local/bin. Also install arduino-cli in CI the same way as in the docs to check them.

Oleg Kalachevb91f4d3b6d12
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 704b6f1..eedd6a7 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -12,7 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install Arduino CLI
- uses: arduino/[email protected]
+ run: curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=/usr/local/bin sh
- name: Build firmware
run: make
diff --git a/docs/build.md b/docs/build.md
index 9ea0fc8..bf53514 100644
--- a/docs/build.md
+++ b/docs/build.md
@@ -14,7 +14,7 @@ cd flix
1. Install Arduino CLI:
```bash
- curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=~/local/bin sh
+ curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=/usr/local/bin sh
```
2. Install Gazebo 11: