From 8f42b78232164c43ce01703aefb98d35927873db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dni=20=E2=9A=A1?= Date: Wed, 6 Nov 2024 07:52:54 +0100 Subject: [PATCH 1/3] fix: build was broken for esp 3.x.x (uBitcoin incompatible) fix to version 2.0.17 --- build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.sh b/build.sh index 9c62224..3b0ee9a 100755 --- a/build.sh +++ b/build.sh @@ -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:esp32@2.0.17 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 From 181af036d5565fa5cdcc11741620938b5c0e7dc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dni=20=E2=9A=A1?= Date: Wed, 6 Nov 2024 07:55:34 +0100 Subject: [PATCH 2/3] fix workflow --- .github/workflows/arduino.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/arduino.yml b/.github/workflows/arduino.yml index b879437..6d3ba3e 100644 --- a/.github/workflows/arduino.yml +++ b/.github/workflows/arduino.yml @@ -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 @@ -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 From 83de5cc3851b7399feb4ff49581ebfe02a1c9a15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dni=20=E2=9A=A1?= Date: Wed, 6 Nov 2024 08:08:16 +0100 Subject: [PATCH 3/3] fix esp version in workflow --- .github/workflows/arduino.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/arduino.yml b/.github/workflows/arduino.yml index 6d3ba3e..316fa95 100644 --- a/.github/workflows/arduino.yml +++ b/.github/workflows/arduino.yml @@ -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