-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feat/add_platformio_gmock' of https://github.com/ciband…
…/cpp-client into feat/add_platformio_gmock
- Loading branch information
Showing
8 changed files
with
87 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/usr/bin/env bash | ||
|
||
sudo apt-get install bzip2 | ||
yes | sudo apt install python-pip | ||
pip install pyserial | ||
pip install --upgrade pip | ||
|
||
wget -O arduino-cli-linux64.tar.bz2 https://github.com/arduino/arduino-cli/releases/download/0.3.3-alpha.preview/arduino-cli-0.3.3-alpha.preview-linux64.tar.bz2 | ||
bunzip2 arduino-cli-linux64.tar.bz2 | ||
tar xvf arduino-cli-linux64.tar | ||
|
||
sudo mv arduino-cli-0.3.3-alpha.preview-linux64 /usr/local/share/arduino-cli | ||
sudo ln -s /usr/local/share/arduino-cli /usr/local/bin/arduino-cli | ||
|
||
printf "board_manager: | ||
additional_urls: | ||
- https://dl.espressif.com/dl/package_esp32_index.json" >> .cli-config.yml | ||
sudo mv .cli-config.yml /usr/local/share/ | ||
|
||
arduino-cli core update-index | ||
arduino-cli core install esp32:esp32 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env bash | ||
|
||
bash ./extras/ARDUINO_IDE.sh --auto | ||
|
||
mkdir -p ~/Arduino/libraries/cpp-client/ | ||
mv ~/project/* ~/Arduino/libraries/cpp-client | ||
|
||
arduino-cli compile --output temp.bin -b esp32:esp32:esp32 ~/Arduino/libraries/cpp-client/examples/arduino/ESP32/ESP32.ino --debug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @faustbrian @kristjank @supaiku0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters