From 4ef4d8d748f4fcb70b9ac22a619d3733e9874a80 Mon Sep 17 00:00:00 2001 From: Jeremy Poulter Date: Sun, 28 Apr 2024 22:38:29 +0100 Subject: [PATCH 1/3] Updating a few libraries --- platformio.ini | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/platformio.ini b/platformio.ini index 982273de..c5aafb1f 100644 --- a/platformio.ini +++ b/platformio.ini @@ -31,11 +31,11 @@ default_envs = openevse_wifi_v1 [common] lib_deps = bblanchon/ArduinoJson@6.20.1 - jeremypoulter/ArduinoMongoose@0.0.18 + jeremypoulter/ArduinoMongoose@0.0.20 jeremypoulter/Micro Debug@0.0.5 jeremypoulter/ConfigJson@0.0.6 jeremypoulter/OpenEVSE@0.0.14 - jeremypoulter/ESPAL@0.0.3 + jeremypoulter/ESPAL@0.0.4 jeremypoulter/StreamSpy@0.0.1 jeremypoulter/MicroTasks@0.0.3 matth-x/ArduinoOcpp@0.3.0 @@ -161,7 +161,7 @@ gfx_display_build_flags = #platform = https://github.com/platformio/platform-espressif32.git#feature/stage #platform = https://github.com/platformio/platform-espressif32.git#develop #platform = espressif32@1.11.1 -platform = espressif32@6.4.0 +platform = espressif32@6.6.0 #framework = arduino, espidf framework = arduino lib_deps = ${common.lib_deps} @@ -315,7 +315,7 @@ build_flags = -D RESET_ETH_PHY_ON_BOOT=1 -D RX2=16 -D TX2=32 -board_build.extra_flags = "-DARDUINO_ESP32_GATEWAY=\'F\'" +board_build.extra_flags = "-DARDUINO_ESP32_GATEWAY=70" upload_speed = 921600 [env:olimex_esp32-gateway-e] @@ -324,7 +324,7 @@ upload_speed = 921600 extends = env:olimex_esp32-gateway-f build_flags = ${env:olimex_esp32-gateway-f.build_flags} -board_build.extra_flags = "-DARDUINO_ESP32_GATEWAY=\'E\'" +board_build.extra_flags = "-DARDUINO_ESP32_GATEWAY=69" [env:olimex_esp32-gateway-e_dev] extends = env:olimex_esp32-gateway-e From 66d216c44904a644f39c74e91c71eb842b04fe7c Mon Sep 17 00:00:00 2001 From: Jeremy Poulter Date: Sun, 28 Apr 2024 22:39:40 +0100 Subject: [PATCH 2/3] Workflow to check for PlatformIO dependacy updates --- .github/workflows/dependabot.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/dependabot.yml diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml new file mode 100644 index 00000000..b8e419d3 --- /dev/null +++ b/.github/workflows/dependabot.yml @@ -0,0 +1,23 @@ +name: PlatformIO Dependabot + +on: + workflow_dispatch: # option to manually trigger the workflow + schedule: + # Runs every day at 00:00 + - cron: '0 0 * * *' + +permissions: + contents: read + pull-requests: write + +jobs: + dependabot: + runs-on: ubuntu-latest + name: run PlatformIO Dependabot + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: run PlatformIO Dependabot + uses: peterus/platformio_dependabot@v1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From 26a9d8e637e6daf1f6f1048d7a2356d6476c9d4a Mon Sep 17 00:00:00 2001 From: Jeremy Poulter Date: Mon, 29 Apr 2024 20:46:30 +0100 Subject: [PATCH 3/3] Fixed defines for newest Arduino core --- platformio.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platformio.ini b/platformio.ini index c5aafb1f..35aef67a 100644 --- a/platformio.ini +++ b/platformio.ini @@ -315,7 +315,7 @@ build_flags = -D RESET_ETH_PHY_ON_BOOT=1 -D RX2=16 -D TX2=32 -board_build.extra_flags = "-DARDUINO_ESP32_GATEWAY=70" +board_build.extra_flags = "-DARDUINO_ESP32_GATEWAY_F" upload_speed = 921600 [env:olimex_esp32-gateway-e] @@ -324,7 +324,7 @@ upload_speed = 921600 extends = env:olimex_esp32-gateway-f build_flags = ${env:olimex_esp32-gateway-f.build_flags} -board_build.extra_flags = "-DARDUINO_ESP32_GATEWAY=69" +board_build.extra_flags = "-DARDUINO_ESP32_GATEWAY_E" [env:olimex_esp32-gateway-e_dev] extends = env:olimex_esp32-gateway-e