diff --git a/.github/workflows/test.platformio.yml b/.github/workflows/test.platformio.yml index 8e06241..95da700 100644 --- a/.github/workflows/test.platformio.yml +++ b/.github/workflows/test.platformio.yml @@ -5,26 +5,26 @@ on: [push, pull_request] jobs: build: runs-on: ubuntu-latest - timeout-minutes: 20 + timeout-minutes: 40 strategy: fail-fast: false max-parallel: 20 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Cache pip - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} restore-keys: ${{ runner.os }}-pip- - name: Cache PlatformIO - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.platformio key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }} - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 - name: Install PlatformIO run: | python -m pip install --upgrade pip diff --git a/examples/IotWebConf17JsonConfig/platformio.ini b/examples/IotWebConf17JsonConfig/platformio.ini index ca62865..fac9c88 100644 --- a/examples/IotWebConf17JsonConfig/platformio.ini +++ b/examples/IotWebConf17JsonConfig/platformio.ini @@ -29,4 +29,3 @@ build_flags = ;upload_port = /dev/cu.SLAB_USBtoUART lib_deps = ${common.lib_deps} - lorol/LittleFS_esp32 diff --git a/examples/IotWebConf17JsonConfig/src/main.cpp b/examples/IotWebConf17JsonConfig/src/main.cpp index f0d42bb..edfa5a1 100644 --- a/examples/IotWebConf17JsonConfig/src/main.cpp +++ b/examples/IotWebConf17JsonConfig/src/main.cpp @@ -15,12 +15,7 @@ #include #include // This loads aliases for easier class names. -#ifndef ESP32 -# include -#else -# include -# define LittleFS LITTLEFS -#endif +#include #include #ifndef IOTWEBCONF_ENABLE_JSON