Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: build was broken for esp 3.x.x (uBitcoin incompatible) #28

Merged
merged 3 commits into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/arduino.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
fqbn: ${{ matrix.fqbn }}
platforms: |
- name: esp32:esp32
- name: esp32:esp32@2.0.17
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
sketch-paths: |
- nostrZapLamp
Expand All @@ -44,7 +44,7 @@ jobs:
# - name: QRCode
# - name: ESP32Ping

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: sketches-reports
path: sketches-reports
Expand All @@ -57,7 +57,7 @@ jobs:
steps:
# This step is needed to get the size data produced by the compile jobs
- name: Download sketches reports artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: sketches-reports
path: sketches-reports
Expand Down
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ arduino-cli config --additional-urls https://raw.githubusercontent.com/espressif
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 uBitcoin WebSockets ArduinoJson base64 Button WiFiManager Nostr # QRCode ESP32Ping
arduino-cli compile --build-path build --fqbn esp32:esp32:esp32 --build-property "build.partitions=min_spiffs" --build-property "upload.maximum_size=1966080" nostrZapLamp
Loading