forked from arcbtc/LNPoS
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
#!/bin/sh | ||
command -v arduino-cli >/dev/null 2>&1 || { echo >&2 "arduino-cli not found. Aborting."; exit 1; } | ||
arduino-cli config --additional-urls https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json init | ||
arduino-cli config --additional-urls https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json init --overwrite | ||
arduino-cli core update-index | ||
arduino-cli core install esp32:esp32 | ||
arduino-cli upgrade | ||
# uBitcoin is broken on esp32 3.x.x | ||
arduino-cli core install esp32:[email protected] | ||
arduino-cli lib install ArduinoJson Base64 Keypad uBitcoin | ||
arduino-cli compile \ | ||
--build-property "build.partitions=min_spiffs" \ | ||
|