examples: fix some bugs; update docs.

This commit is contained in:
Liu Zhong Wei
2023-08-17 14:51:54 +08:00
committed by Xu Xin
parent bb3f65048d
commit d1cf670ac6
48 changed files with 700 additions and 221 deletions
-45
View File
@@ -1,45 +0,0 @@
name: Build examples IDF4.4
on:
push:
branches:
- master
pull_request:
jobs:
Build-examples:
runs-on: ubuntu-latest
env:
PROJECT_PATH: examples/factory_demo
BIN_FILE: ESP-Box_Demo_V0.3.0.bin
container: espressif/idf:release-v4.4
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: esp-idf build
run: |
pwd
ls -al
cd /opt/esp/idf
git checkout c8ce38e60c
git submodule update --init --recursive
tools/idf_tools.py --non-interactive install cmake
./install.sh
source ./export.sh
cd $GITHUB_WORKSPACE/$PROJECT_PATH
idf.py build
cd build
esptool.py --chip ESP32-S3 merge_bin -o $BIN_FILE @flash_args
shell: bash
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
# Artifact name
name: factory-firmware_IDF4.4
# A file, directory or wildcard pattern that describes what to upload
path: |
examples/factory_demo/build/ESP-*.bin
retention-days: 90
@@ -1,4 +1,4 @@
name: Build examples IDF5.0
name: Build examples IDF5.1
on:
push:
branches:
@@ -10,8 +10,8 @@ jobs:
runs-on: ubuntu-latest
env:
PROJECT_PATH: examples/factory_demo
BIN_FILE: ESP-Box_Demo_V0.3.0.bin
container: espressif/idf:release-v5.0
BIN_FILE: ESP-Box_Demo_V0.5.0.bin
container: espressif/idf:release-v5.1
steps:
- name: Checkout repo
uses: actions/checkout@v2
@@ -23,7 +23,7 @@ jobs:
pwd
ls -al
cd /opt/esp/idf
git checkout 94d9c529f3
git checkout 22cfbf30c3
git submodule update --init --recursive
tools/idf_tools.py --non-interactive install cmake
./install.sh
@@ -38,7 +38,7 @@ jobs:
uses: actions/[email protected]
with:
# Artifact name
name: factory-firmware_IDF5.0
name: factory-firmware_IDF5.1
# A file, directory or wildcard pattern that describes what to upload
path: |
examples/factory_demo/build/ESP-*.bin