Change esp32 to build on top of the tflite-micro-esp-examples idf component #130
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ESP32 C3 | |
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#onschedule | |
on: | |
pull_request: | |
paths: | |
- '.github/workflows/build_esp32c3.yml' | |
- "micropython-modules/microlite/**" | |
- "micropython-modules/micropython-camera-driver/**" | |
jobs: | |
tensorflow_micropython_esp32c3_build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Build ESP32 MICROLITE_C3 No SPIRAM - 4MB Flash | |
run: | | |
mv * .. | |
cd .. | |
source ./scripts/build.sh && prepare_dependencies | |
source ./dependencies/micropython/tools/ci.sh && ci_esp32_idf50_setup | |
echo "BUILDING MICROLITE_C3" | |
source ./scripts/build.sh && build_esp32 "MICROLITE_C3" | |
TARGET=$(pwd)/dependencies/micropython/ports/esp32 | |
echo "TARGET=$TARGET" | |
./scripts/assemble-unified-image-esp.sh $TARGET "MICROLITE_C3" | |
ls $TARGET/build-MICROLITE_C3 | |
shell: bash | |
- name: Archive ESP32-MICROLITE_C3 No SPIRAM - 4 MB Flash firmware | |
uses: actions/upload-artifact@v3 | |
with: | |
name: microlite-esp32-firmware | |
path: /home/runner/work/tensorflow-micropython-examples/dependencies/micropython/ports/esp32/build-MICROLITE_C3/firmware.bin |