From 4eefabb2633ea7af0a67d6bc366e2abf267aef1c Mon Sep 17 00:00:00 2001 From: "C.Lee Taylor" Date: Tue, 23 Sep 2025 14:04:52 +0200 Subject: [PATCH 1/5] chore(ci): add Sketches report size delta to PR workflows --- .github/workflows/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 76e8843..f4f569c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,6 +30,7 @@ jobs: - name: Compile sketches uses: arduino/compile-sketches@v1 with: + enable-deltas-report: true fqbn: esp32:esp32:esp32 sketch-paths: | - examples/CharacteristicsConfiguration/CharacteristicsConfiguration.ino @@ -56,3 +57,8 @@ jobs: - name: Keypad - name: Bounce2 - source-path: . + + - name: Sketches report size delta + uses: arduino/report-size-deltas@v1 + # Only run the action when the workflow is triggered by a pull request. + if: github.event_name == 'pull_request' From bf4bccf68ba94b09ea381e28a666da3fb1d3dfbc Mon Sep 17 00:00:00 2001 From: "C.Lee Taylor" Date: Tue, 23 Sep 2025 14:05:50 +0200 Subject: [PATCH 2/5] chore(ci): add esp32s3 as target build for platformIO workflow --- .github/workflows/platformio.yml | 2 +- test/ci_build/platformio.ini | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/platformio.yml b/.github/workflows/platformio.yml index 46fb140..11b362a 100644 --- a/.github/workflows/platformio.yml +++ b/.github/workflows/platformio.yml @@ -24,7 +24,7 @@ jobs: strategy: matrix: - board: [esp32dev, lolin_c3_mini] + board: [esp32dev, lolin_c3_mini, esp32s3] steps: - name: Checkout code diff --git a/test/ci_build/platformio.ini b/test/ci_build/platformio.ini index 9dec0cd..e318353 100644 --- a/test/ci_build/platformio.ini +++ b/test/ci_build/platformio.ini @@ -19,3 +19,14 @@ lib_deps = ../../ build_flags = -D BLE_GAMEPAD_DEBUG=1 + +[env:esp32s3] +platform = espressif32 +board = esp32-s3-devkitc-1 +framework = arduino +lib_ldf_mode = deep+ +lib_deps = + h2zero/NimBLE-Arduino + ../../ +build_flags = + -D BLE_GAMEPAD_DEBUG=1 From fbc686de870e4995efd3a2b8e793419f7e77111b Mon Sep 17 00:00:00 2001 From: "C.Lee Taylor" Date: Tue, 23 Sep 2025 14:07:18 +0200 Subject: [PATCH 3/5] chore(docs): fix for platformio badge and minor text tweaks --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 63f529e..9eb7bbb 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # ESP32-BLE-Gamepad ![Build](https://github.com/lemmingDev/ESP32-BLE-Gamepad/actions/workflows/main.yml/badge.svg) -![PlatformIO](https://github.com/lemmingDev/ESP32-BLE-Gamepad/actions/workflows/main.yml/platform.svg) +![PlatformIO](https://github.com/lemmingDev/ESP32-BLE-Gamepad/actions/workflows/platform.yml/badge.svg) -BLE Bluetooth HID GAMEPAD library for ESP32 +Bluetooth LE Gamepad library for the ESP32 ## License Published under the MIT license. Please see license.txt. @@ -27,9 +27,10 @@ It would be great however if any improvements are fed back into this version. - [x] Configurable BLE characteristics (name, manufacturer, model number, software revision, serial number, firmware revision, hardware revision) - [x] Report optional battery level to host - [x] Uses efficient NimBLE bluetooth library - - [x] Output report function + - [x] HID Output Report function + - [ ] HID Feature Report function - [x] Functions available for force pairing/ignore current client and/or delete pairings - - [x] Nordic UART Service functionality at same time as gamepad. See examples + - [x] Nordic UART Service (NUS) functionality at same time as gamepad. See examples - [x] Compatible with Windows - [x] Compatible with Android (Android OS maps default buttons / axes / hats slightly differently than Windows) (see notes) - [x] Compatible with Linux (limited testing) From 5d08f4055350f94d82cbbd207becd3b6437cabb7 Mon Sep 17 00:00:00 2001 From: "C.Lee Taylor" Date: Tue, 23 Sep 2025 14:07:56 +0200 Subject: [PATCH 4/5] chore(docs): really fix platformio badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9eb7bbb..7ae2ba4 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # ESP32-BLE-Gamepad ![Build](https://github.com/lemmingDev/ESP32-BLE-Gamepad/actions/workflows/main.yml/badge.svg) -![PlatformIO](https://github.com/lemmingDev/ESP32-BLE-Gamepad/actions/workflows/platform.yml/badge.svg) +![PlatformIO](https://github.com/lemmingDev/ESP32-BLE-Gamepad/actions/workflows/platformio.yml/badge.svg) Bluetooth LE Gamepad library for the ESP32 From 187cab38ce8796f35ca589a6b0037f51cccd5a6c Mon Sep 17 00:00:00 2001 From: "C.Lee Taylor" Date: Tue, 23 Sep 2025 14:13:44 +0200 Subject: [PATCH 5/5] chore(ci): remove verbose build tests for platformIO --- .github/workflows/platformio.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/platformio.yml b/.github/workflows/platformio.yml index 11b362a..ec07828 100644 --- a/.github/workflows/platformio.yml +++ b/.github/workflows/platformio.yml @@ -44,4 +44,4 @@ jobs: run: | # pio run -d examples/TestAll/TestAll.ino -e ${{ matrix.board }} -D BLE_GAMEPAD_DEBUG=1 --verbose cd test/ci_build - pio run -e ${{ matrix.board }} --verbose + pio run -e ${{ matrix.board }}