Skip to content

Commit 1c96d1e

Browse files
authored
chore: Update to esp-idf v5.5.1 and update dependencies (#13)
1 parent 0d83d7f commit 1c96d1e

File tree

4 files changed

+99
-61
lines changed

4 files changed

+99
-61
lines changed

.github/workflows/build.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ name: Build
22

33
on: [pull_request]
44

5+
env:
6+
IDF_TARGET: 'esp32s3'
7+
IDF_VERSION: 'v5.5.1'
8+
IDF_COMPONENT_MANAGER: "1" # whether to enable the component manager or not
9+
FLASH_TOTAL_OVERRIDE: '2097152' # 2MB flash app partition for hachi
10+
511
jobs:
612
build:
713

@@ -14,6 +20,16 @@ jobs:
1420
- name: Build Examples
1521
uses: espressif/esp-idf-ci-action@v1
1622
with:
17-
esp_idf_version: release-v5.4
18-
target: esp32s3
23+
esp_idf_version: ${{ env.IDF_VERSION }}
24+
target: ${{ env.IDF_TARGET }}
1925
path: '.'
26+
27+
- name: Determine Size Delta
28+
uses: esp-cpp/esp-idf-size-delta@v1
29+
with:
30+
app_name: 'Wireless Debug Display'
31+
app_path: '.'
32+
idf_target: ${{ env.IDF_TARGET }}
33+
idf_version: ${{ env.IDF_VERSION }}
34+
idf_component_manager: ${{ env.IDF_COMPONENT_MANAGER }}
35+
flash_total_override: ${{ env.FLASH_TOTAL_OVERRIDE }}

.github/workflows/package_main.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ on:
77
types: [published]
88
workflow_dispatch:
99

10+
env:
11+
IDF_VERSION: 'v5.5.1'
12+
IDF_COMPONENT_MANAGER: "1" # whether to enable the component manager or not
13+
FLASH_TOTAL_OVERRIDE: '2097152' # 2MB flash app partition for main app
14+
1015
jobs:
1116
build:
1217

@@ -40,7 +45,7 @@ jobs:
4045
- name: Build Main Code
4146
uses: espressif/esp-idf-ci-action@v1
4247
with:
43-
esp_idf_version: release-v5.4
48+
esp_idf_version: ${{ env.IDF_VERSION }}
4449
target: ${{ matrix.build.target }}
4550
path: '.'
4651
command: ${{ matrix.build.command }}
@@ -72,6 +77,19 @@ jobs:
7277
with:
7378
files: ${{ env.artifact_path }}
7479

80+
- name: Determine Size Delta
81+
# only run this on the byte90 build and if the release is published
82+
if: ${{ github.event.release && github.event.action == 'published' && matrix.build.name == 'esp-box' }}
83+
uses: esp-cpp/esp-idf-size-delta@v1
84+
with:
85+
app_name: "Wireless Debug Display"
86+
app_path: "."
87+
idf_target: ${{ matrix.build.target }}
88+
idf_version: ${{ env.IDF_VERSION }}
89+
idf_component_manager: ${{ env.IDF_COMPONENT_MANAGER }}
90+
flash_total_override: ${{ env.FLASH_TOTAL_OVERRIDE }}
91+
post_comment: 'false'
92+
7593
package:
7694
name: Package the binaries into an executables for Windows, MacOS, and Linux (Ubuntu)
7795
needs: build

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,11 +205,11 @@ running.
205205
### Environment
206206

207207
This project is an ESP-IDF project, currently [ESP-IDF
208-
v.5.4](https://github.com/espressif/esp-idf).
208+
v.5.5.1](https://github.com/espressif/esp-idf).
209209

210-
For information about setting up `ESP-IDF v5.4`, please see [the official
210+
For information about setting up `ESP-IDF v5.5.1`, please see [the official
211211
ESP-IDF getting started
212-
documentation](https://docs.espressif.com/projects/esp-idf/en/v5.4/esp32s3/get-started/index.html).
212+
documentation](https://docs.espressif.com/projects/esp-idf/en/v5.5.1/esp32s3/get-started/index.html).
213213

214214
### Build and Flash
215215

0 commit comments

Comments
 (0)