Skip to content

Commit

Permalink
Fix Compiles on ESP-IDF versions > 4.4 (#8)
Browse files Browse the repository at this point in the history
* fixes for esp-idf > version 5

* Test builds on different versions of esp-idf in github CI
  • Loading branch information
Fishwaldo authored Feb 17, 2024
1 parent e1f297b commit 335b330
Show file tree
Hide file tree
Showing 4 changed files with 321 additions and 217 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,17 @@ jobs:
fail-fast: true
matrix:
targets: [esp32, esp32s3]
espidf: [v4.4.6, v5.0.5, v5.1.2, v5.2]
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: esp-idf build
uses: Fishwaldo/esp-idf-ci-action@v1.2
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: v4.4.3
esp_idf_version: ${{ matrix.espidf }}
target: ${{ matrix.targets }}
path: 'examples/esp_ghota_example'
- name: Rename artifact
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ You should be careful with your GitHub PAT and putting it in the source code. I
### esp-idf via Espressif Component Registry:

```bash
idf.py add-dependency Fishwaldo/ghota^0.0.1
idf.py add-dependency Fishwaldo/ghota^1.0.0
```

#### Platform IO Registry:
Expand All @@ -34,7 +34,7 @@ add this to your platform.ini file:

```ini
lib_deps =
Fishwaldo/ghota@^0.0.1
fishwaldo/ghota@^1.0.0
```

You also need to copy the contents of [Kconfig](Kconfig) into your project's Kconfig file, and run pio run -t menuconfig to configure the component.
Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "esp_ghota",
"version": "0.0.1",
"version": "1.0.0",
"description": "a OTA library to upgrade your firmware via the Github Releases API",
"keywords": "esp32 ota github",
"repository":
Expand Down
Loading

0 comments on commit 335b330

Please sign in to comment.