Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ name: Build

on: [pull_request]

env:
IDF_TARGET: 'esp32s3'
IDF_VERSION: 'v5.5.1'
IDF_COMPONENT_MANAGER: "1" # whether to enable the component manager or not
FLASH_TOTAL_OVERRIDE: '2097152' # 2MB flash app partition for hachi

jobs:
build:

Expand All @@ -14,6 +20,16 @@ jobs:
- name: Build Examples
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: release-v5.4
target: esp32s3
esp_idf_version: ${{ env.IDF_VERSION }}
target: ${{ env.IDF_TARGET }}
path: '.'

- name: Determine Size Delta
uses: esp-cpp/esp-idf-size-delta@v1
with:
app_name: 'Wireless Debug Display'
app_path: '.'
idf_target: ${{ env.IDF_TARGET }}
idf_version: ${{ env.IDF_VERSION }}
idf_component_manager: ${{ env.IDF_COMPONENT_MANAGER }}
flash_total_override: ${{ env.FLASH_TOTAL_OVERRIDE }}
20 changes: 19 additions & 1 deletion .github/workflows/package_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ on:
types: [published]
workflow_dispatch:

env:
IDF_VERSION: 'v5.5.1'
IDF_COMPONENT_MANAGER: "1" # whether to enable the component manager or not
FLASH_TOTAL_OVERRIDE: '2097152' # 2MB flash app partition for main app

jobs:
build:

Expand Down Expand Up @@ -40,7 +45,7 @@ jobs:
- name: Build Main Code
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: release-v5.4
esp_idf_version: ${{ env.IDF_VERSION }}
target: ${{ matrix.build.target }}
path: '.'
command: ${{ matrix.build.command }}
Expand Down Expand Up @@ -72,6 +77,19 @@ jobs:
with:
files: ${{ env.artifact_path }}

- name: Determine Size Delta
# only run this on the byte90 build and if the release is published
if: ${{ github.event.release && github.event.action == 'published' && matrix.build.name == 'esp-box' }}
uses: esp-cpp/esp-idf-size-delta@v1
with:
app_name: "Wireless Debug Display"
app_path: "."
idf_target: ${{ matrix.build.target }}
idf_version: ${{ env.IDF_VERSION }}
idf_component_manager: ${{ env.IDF_COMPONENT_MANAGER }}
flash_total_override: ${{ env.FLASH_TOTAL_OVERRIDE }}
post_comment: 'false'

package:
name: Package the binaries into an executables for Windows, MacOS, and Linux (Ubuntu)
needs: build
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,11 @@ running.
### Environment

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

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

### Build and Flash

Expand Down
Loading