diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml deleted file mode 100644 index 8e0a5c1..0000000 --- a/.github/workflows/ci.yaml +++ /dev/null @@ -1,51 +0,0 @@ -name: ESPSomfy-RTS - -on: [push, pull_request] - -jobs: - build: - name: ${{ matrix.name }} - runs-on: ubuntu-latest - - strategy: - fail-fast: false - matrix: - include: - - env: esp32dev - name: ESP32 - - env: esp32c3 - name: ESP32-C3 - - env: esp32s3 - name: ESP32-S3 - - env: esp32c6 - name: ESP32-C6 - - steps: - - name: Check out code - uses: actions/checkout@v4 - - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: "3.12" - - - name: Install PlatformIO - run: pip install platformio - - - name: Build ${{ matrix.name }} - run: pio run -e ${{ matrix.env }} - - - name: Build LittleFS image - run: pio run -e ${{ matrix.env }} -t buildfs - - - name: Upload firmware - uses: actions/upload-artifact@v4 - with: - name: ${{ matrix.name }} - path: | - .pio/build/${{ matrix.env }}/firmware.bin - .pio/build/${{ matrix.env }}/firmware.elf - .pio/build/${{ matrix.env }}/partitions.bin - .pio/build/${{ matrix.env }}/bootloader.bin - .pio/build/${{ matrix.env }}/littlefs.bin - retention-days: 5 diff --git a/.gitignore b/.gitignore index 77348db..784bafc 100644 --- a/.gitignore +++ b/.gitignore @@ -10,7 +10,7 @@ debug.cfg esp32.vsd esp32s3.svd -# Build and Output Folders +# Build, Logs and Output Folders build/ data/ logs/ @@ -37,4 +37,4 @@ SomfyController.ino.esp32s2.bin # Temporary and Backup Files *.orig -*.bak \ No newline at end of file +*.bak diff --git a/src/ConfigSettings.h b/src/ConfigSettings.h index 0638b7c..39c8a6d 100644 --- a/src/ConfigSettings.h +++ b/src/ConfigSettings.h @@ -5,6 +5,7 @@ #ifndef configsettings_h #define configsettings_h #include "WResp.h" + #ifndef FW_VERSION #define FW_VERSION "v0.0.0" // Fallback if app_version.py script fails #endif